vim eclipse java
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.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。