Hot answers tagged yum
These tools all install software into your system, but are working on different levels. ./configure && make install Running ./configure && make install builds and installs the libraries or executables directly from the source code. The make install step basically just copies the final files into your system. Many sources come with a ...
Have you tried: yum install gcc-c++
yum doesn't have that capability. Use the repoquery tool from the yum-utils package instead. repoquery --requires <package> OR to also see which additional RPM packages are needed to satisfy the dependencies, use --resolve repoquery --requires --resolve <package>
Tru Huynh of centos.org has built the redhat developer toolset 1.1, for centos and it contains gcc 4.7.2 So you could simply use his repo and install just gcc, instantly. cd /etc/yum.repos.d wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo yum --enablerepo=testing-1.1-devtools-6 install devtoolset-1.1-gcc devtoolset-1.1-gcc-c++ This will ...
yum repolist yum repolist enabled shows all enabled repositories. These two commands are identical. yum repolist disabled shows disabled repositories. yum repolist all shows everything.
I believe you can find what you are looking for in the Yum log files, located in /var/log/yum.log
You can use: yum downgrade NetworkManager NetworkManager-gnome NetworkManager-glib
There is new version of devtoolset 2.0. Nice people from Cern working on Scientific Linux created an open version: If you use CentOS (not Scientific Linux), then you will have to import their GPG key from here using: rpm --import http://www.scientificlinux.org/documentation/gpg/RPM-GPG-KEY-cern Enjoy!
All of this did not work with me. Using CentOS and yum. yum hangs without an error message, at least, so it appears. Pressing Ctrl+C does not work (pressing it again and again and again does). Several things need to be checked: - are the repositories OK? - is networking OK? - are the yum and rpm databases OK? So, first start with the easy stuff - clean ...
You can place files in /etc/apt/sources.list.d. This is described in the man page for sources.list (type man sources.list). The man page says: SOURCES.LIST.D The /etc/apt/sources.list.d directory provides a way to add sources.list entries in separate files. The format is the same as for the regular sources.list file. File names need to end with ...
You may have a DNS issue. Try to ensure you can resolve DNS records locally: nslookup google.com If you get an IP back from that command, you should be OK for DNS. Try then removing the fastestmirror cache and re-running your yum command: rm -f /var/cache/yum/timedhosts.txt
From the manpage: MISC Specifying package names A package can be referred to for install,update,list,remove etc with any of the following: name name.arch name-ver name-ver-rel name-ver-rel.arch name-epoch:ver-rel.arch epoch:name-ver-rel.arch For ...
use deplist command yum deplist <package> from yum's manual: Produces a list of all dependencies and what packages provide those dependencies for the given packages.
You can run "yum clean expire-cache" which is much more efficient way to tell yum to check the repos. ... the other thing to do would be to change the metadata_expire value for the local repo. (see man yum.conf).
EL6 gcc-4.8 http://www.hop5.in/yum/el6/repoview/gcc.html or this http://puias.princeton.edu/data/puias/DevToolset/6/x86_64/ /etc/yum.repos.d/DevToolset.repo [DevToolset-2] name=RedHat DevToolset v2 $releasever - $basearch baseurl=http://people.centos.org/tru/devtools-2/$basearch/ enabled=1 gpgcheck=0 Testing run # yum install devtoolset-2-gcc-4.8.2 ...
Trying to recover the system will probably take you several hours. I recommend just reinstalling.
In CentOS, this binary is provided by the mailx package: yum install mailx FYI, as the message at the bottom of your post indicates, you are using whatprovides incorrectly. Proper usage searching mirrors for a file called 'mail' would have been: yum whatprovides */mail
Presto makes yum download only the delta. The changes. It downloads them and apply them on the existing data, thus it saves a lot of bandwidth. (You pay with Disk IO and CPU load instead.) It is a really good thing for developing countries, people with mobile internet and so on. ps.: OpenSUSE been using this for a long time. If I remember clearly they ...
dmckee's answer works perfectly well. $ yum list installed also works. No special privileges required.
This is the path of yum repository [root@localhost yum.repos.d]# pwd /etc/yum.repos.d This is the content of that directory [root@localhost yum.repos.d]# ll total 60 -rw-r--r-- 1 root root 179 Jul 17 11:56 adobe-linux-i386.repo -rw-r--r-- 1 root root 1926 Jun 26 14:59 CentOS-Base.repo -rw-r--r-- 1 root root 637 Jun 26 14:59 ...
Long ago I would have just used $ rpm -qa and possibly piped it through more. Looks like is still works.
For the specific commands you listed (in order).... yum search yum upgrade yum yum list installed yum list updates or yum check-update For any others, I would recommend reading the man page. It is very well written, and contains a lot more information. The biggest differences you will probably notice are: Installs will happen much faster since the ...
You can just use the rpm tool for this. rpm -ql package-name Will list all files installed by that package (that's que-ell).
According to man yum: update: If run without any packages, update will update every currently installed package. If one or more packages or package globs are specified, Yum will only update the listed packages. While updating packages, yum will ensure that all dependencies are satisfied. […] If […] the --obsoletes flag is present yum ...
I have not been able to get this to work using environment variables as you describe here. Yum does support proxies itself, however, and you should be able to do something like this: proxy=http://proxy:port Into yum.conf and then adding proxy=_none_ Into the repo definitions you don't want to access via the global proxy. This is detailed (albeit ...
You could try: add-apt-repository <REPOSITORY LINE> The repository line would just be what you would append to the sources.list or a PPA repository. Check out the manpage here, or execute: man add-apt-repository
Well, yum history does the job as well.
You can certainly make this switch. Basically you, more or less, point your installation to CentOS repositories and continue on your merry way. You'll have one major problem, though, in that all the CentOS repos seem to have their 5.x packages at release 5.9. There appears, at a quick glance, to be no 5.5 specific repos any longer. I did this on a web farm ...
If you really want version 1.6 of OpenJDK for Fedora 17 you could use the one provided by Fedora 16. Use this command: yum install java-1.6.0-openjdk --releasever=16 --nogpgcheck (--nogpgcheck because yum complains of not having the key for Fedora 16, maybe there are better ways to solve this) But this shows, that java-1.7.0-openjdk obsoletes ...
Check the Deleting packages with yum section in the HOW TO There says: In any event, the command syntax for package removal is: # yum remove package1 [package2 package3...] As noted above, it removes package1 and all packages in the dependency tree that depend on package1, possibly irreversibly as far as configuration data is concerned. As a quick ...
Only top voted, non community-wiki answers of a minimum length are eligible