Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have git version 1.7.4.1. and would like to upgrade to the latest stable release of 1.8.4.
So I tried sudo apt-get install git as it says on the git downloads page for Linux but I get this result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 91 not upgraded.
$ git --version
git version 1.7.4.1
and I'm stuck with git version 1.7.4.1!
I am on Ubuntu 11.04.
This is due to Ubuntu has not updated the package yet in their repositories. The only way around this would be to compile from source, which you can download from https://github.com/git/git.
There are Ubuntu PPAs for Git, offering the latest version of it. Add one of those and you'll be able to install it. For example:
https://launchpad.net/~git-core/+archive/ppa
Read the "Adding this PPA to your system" information on how to do this.
You should upgrade your whole system to raring at least:
http://packages.ubuntu.com/search?keywords=git-core
(If you adhere to packaged version.)
But the source will be more fresh anyway.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 12 months ago.
Improve this question
I want to install some basic packages on a proprietary Linux distro based on RHEL (I think).
I tried going the usual dnf install foo way, but quickly found out there are no repositories in /etc/yum.repos.d/.
Since it is based on RHEL, I tried adding some RHEL repos, but still cannot install anything from them. I also tried downloading a package and install it from a local repo as explained here. But no packages are detected in the repo. My guess is that the proprietary distro is (too?) different from RHEL so those repos are not recognized.
So my question is: How do I install packages on a proprietary Linux distro? Is it only possible to install from repos that are meant precisely for the distro I am using? Or could it be that repos for another distro might work? The only other way I can think of is to try to find all the Git repos of all the packages I want to install to install them from source.
There are few possible ways:
activate your RHEL machine.. This include create account in RH. And
its free for small number of machines. More info here.
Download the package and do a local install:
dnf localinstall package.rpm
You should download and install all dependent packages also.
To update you can use nondocumented option:
dnf localupdate package.rpm
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi!
I deleted by mistake, the command apt and apt-get...
My OS: Ubuntu 16.04 TLS
Error:
-bash: /usr/bin/apt: No such file or directory
-bash: /usr/bin/apt-get: No such file or directory
How can I reinstall APT command?
check out the packages.ubuntu.com page and look for the apt package, there you can download the binary .deb file depending on your processor architecture...
But consider that, the deb files have some dependencies... you have to install them too, for listing the package dependencies, use the dpkg, eg:
dpkg -I apt-armhf-blahblah.deb
if you deleted the apt package by itself, take a look at its log file in /var/log/apt/history.log, you can discover the name of packages that you removed.
HINT 1: since the DPKG can't automatically install the dependencies, you have to install them one by one!
HINT 2: that's recommended to remove your current OS and install the latest version because this version will not receive any maintenance update anymore.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I want to install this package to utilize some kodi addons. It needs version 2.4.3 at least but I can not update it to the newest version because apt thinks this is already the newest version but it definetely is not.
This is what somebody else already helped me with:
Your system must have issues getting newer updates because Debian Buster ships with IA v2.4.4:
https://www.deb-multimedia.org/dists/stable/main/binary-armhf/package/kodi-inputstream-adaptive
This happens when I want to install newest version:
pi#raspberrypi:~ $ sudo apt-get install kodi-inputstream-adaptive
Reading package lists... Done
Building dependency tree
Reading state information... Done
kodi-inputstream-adaptive is already the newest version (2.4.2-1~buster).
0 upgraded, 0 newly installed, 0 to remove and 154 not upgraded.
You could try to add it manually.
Add the following line to /etc/apt/sources.list:
deb http://www.deb-multimedia.org buster main
Update packages:
sudo apt-get update
Install keyring:
sudo apt-get install deb-multimedia-keyring
Then try to install it again
sudo apt-get install kodi-inputstream-adaptive
Reference.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to install subversion on RedHat linux. But there is a bit problem with broken yum package manager. I have configured some own repositories from CentOS, but unfortunately there is still one broken dependency:
libneon.so.27
I have tried to download it on my own, but its dependencies are quite complex, it will cost me a lot of time to downlaod them all. Do you have any hints?
(Links to some repos with that libneon (rpmforge i have tried with no success))
You can download rpm forge repository from the links 32 bit or 64 bit depending upon your machine configuration. rpm forge package has most of the useful packages and dependencies. After that try the following command:
yum install mod_dav_svn subversion
or just try
yum install subversion
In addition to subversion You can also use GIT which is similar to svn but has its own additional benefits.
If you like you can install git using the command:-
yum install git
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I'm using Linux Mint 11 64 bit. I needed some packages to install newest software and found them in ubuntu repositories.
To do this I added
deb http://security.ubuntu.com/ubuntu oneiric-security main
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ oneiric main
to my
/etc/apt/sources.list.
I made automatically sudo apt-get update + sudo apt-get upgrade and it installed ~900 packages from that repository (and removed some of my Mint too...). My system changed to Ubuntu-like dist, installed new graphical interface - probably GNOME3 (I liked my GNOME2 really much..). I am now unable to start GNOME2 at all.
Is there any way to undo this changes? I've removed that lines from sources.list, tried sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
but it didn't help.
Thanks.
You can use ppa-purge - install with sudo apt-get install ppa-purge
See this article for more info
That will roll back your packages so it is safe to remove the repo and keep the software and your system wont blow up.
EDIT (based on user1131467's comment): for full-blown repositories, these answers will help, but it is much more manual:
https://askubuntu.com/a/3675/38901 and
https://superuser.com/a/195071/110574
No sorry, you are pretty screwed. You now have newer versions of most of the packages, so even if you remove the oneiric repo it will still opt to keep the new ones.
The best option is to backup and reinstall.