Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What Linux OS are you running on? Usually you don't need to download a package manually. You should let the package manager download and install it for you (unless your system lacks an active internet connection). By the way, to install a downloaded package (from the command line) you can do
if running OpenSuSE.
Alternatively, if you have a desktop environment you can try to right click on the package icon and select "open with package manager" or something similar.
Thanks! on Ubuntu, it gives error when download it by using package manager. I check with
rpm -q xorg-x11-devel-7.6-28.1.x86_64.rpm
seems not installed. When do this
rpm -ihv xorg-x11-devel-7.6-28.1.x86_64.rpm
gives the error below. May be, need another package to install with this one ..
however, this works
sudo apt-get install xorg-dev
In this case, I don t know which x11 lib files missed..
###
error: Failed dependencies:
/usr/bin/pkg-config is needed by xorg-x11-devel-7.6-28.1.x86_64
fontconfig-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
freetype2-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
libXi6-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
libpciaccess0-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
libpixman-1-0-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
pkgconfig is needed by xorg-x11-devel-7.6-28.1.x86_64
pkgconfig(compositeproto) >= 0.4 is needed by xorg-x11-devel-7.6-28.1.x86_64
pkgconfig(damageproto) >= 1.1 is needed by xorg-x11-devel-7.6-28.1.x86_64
...
As adamk75 said. The RPM packages are for distributions based on Red Hat or OpenSuSE. The RPM acronym itself stats for Red-Hat Package Manager. Ubuntu is based on Debian and uses DEB packages. apt-get is the right tool from the command line, synaptic is a package manager with an easy Graphical User Interface.
There are rare cases when you have to truly install a RPM on a Debian based system. In that case you need to convert the RPM to DEB using alien. Believe me, these are very uncommon situations.
Especially in case of development packages, like xorg-x11-devel, you must install the software specifically built for your distribution, hence
Code:
sudo apt-get install xorg-dev
was the right thing to do. Indeed, ubuntu provides the rpm package manager you've installed, but I think it's based on alien as well.
You can keep pc online & yum repos has been created.
Code:
yum install <package-name>
Quote:
Originally Posted by guler
Hey,
Thanks! on Ubuntu, it gives error when download it by using package manager. I check with
rpm -q xorg-x11-devel-7.6-28.1.x86_64.rpm
seems not installed. When do this
rpm -ihv xorg-x11-devel-7.6-28.1.x86_64.rpm
gives the error below. May be, need another package to install with this one ..
however, this works
sudo apt-get install xorg-dev
In this case, I don t know which x11 lib files missed..
###
error: Failed dependencies:
/usr/bin/pkg-config is needed by xorg-x11-devel-7.6-28.1.x86_64
fontconfig-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
freetype2-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
libXi6-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
libpciaccess0-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
libpixman-1-0-devel is needed by xorg-x11-devel-7.6-28.1.x86_64
pkgconfig is needed by xorg-x11-devel-7.6-28.1.x86_64
pkgconfig(compositeproto) >= 0.4 is needed by xorg-x11-devel-7.6-28.1.x86_64
pkgconfig(damageproto) >= 1.1 is needed by xorg-x11-devel-7.6-28.1.x86_64
...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.