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.
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 ...
I believe you can find what you are looking for in the Yum log files, located in /var/log/yum.log
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!
You can use: yum downgrade NetworkManager NetworkManager-gnome NetworkManager-glib
Here is how to get devtoolset-2 (including gcc 4.8.1) This was taken from http://people.centos.org/tru/devtools-2/readme wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo yum install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++ Known issues: unsigned packages CentOS-6 devtoolset-2 needs ...
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
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 ...
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.
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 ...
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 ...
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).
dmckee's answer works perfectly well. $ yum list installed also works. No special privileges required.
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 ...
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
Long ago I would have just used $ rpm -qa and possibly piped it through more. Looks like is still works.
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 ...
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 ...
I just did the same install on CentOS 6. Since the install instructions are more geared toward Ubuntu, here is what I was able to do to install it: install all the required packages using yum yum groupinstall "Development Tools" yum install gcc yum install cmake yum install git yum install gtk2-devel yum install pkgconfig yum install numpy yum ...
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).
Yeh, there's no easy way to do this ... however you can do a few things: rpm -Va ...this will do a check on all the packages you have installed, and you can then reinstall anything that doesn't verify. Also: yum reinstall $(repoquery --requires --recursive --resolve <pkg>) ...this will do what you asked for, although it's a big hammer.
The yum command "whatprovides" accepts wildcards. If you're searching for the package that provides as certain file or executable and do not know its full path, use "yum whatprovides */filename". $ yum whatprovides */ls coreutils-5.97-23.el5_4.2.x86_64 : The GNU core utilities: a set of tools : commonly used in shell ...
I put the following locale relating setting in /etc/bashrc (for all users, bash): export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 export LC_COLLATE=C export LC_CTYPE=en_US.UTF-8 then run: source /etc/bashrc or log off and log on.
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 ...
Only top voted, non community-wiki answers of a minimum length are eligible