tar -xzvf eclipse*.*.gz
mv eclipse /opt/eclipse
ln -s /opt/eclipse /usr/bin/eclipse
run rpm in debain
I wouldn‘t recommend it. You probably could compile it but you wouldn‘t have any Ubuntu-compatible package repositories for it to handle.
You can convert single RPM files into DEBs with Alien:
sudo apt-get install alien
alien my_package.rpm
dpkg -i my_package.deb
Note: It might change the filename a little more than just the extension.
This won‘t work for everything as packages link to other packages to fulfil dependencies. Obviously Red Hat/Fedora/CentOS use different package names to Ubuntu so you‘re likely going to run into a whole load of pain.
Chances are if a DEB doesn‘t exist, you‘ll be better off just getting the source and compiling it.
时间: 2024-10-07 22:57:22