apt for RHEL5
Hello,
I need to install apt on my RedHat enterprise machine [for installing jikes rvm, which in turn requires apt]. I tried to download it using yum, and use these directions: http://www.sysadminwiki.net/wiki/ind...t-get_in_RHEL5 (with small changes, as I am working on el5-x86_64). yum claims that the apt package is installed (which I see by using # yum info apt), but "which apt" says that "no apt in ...". apt-get gives an even stranger message, that "E: State directory /var/lib/apt/ doesn't exist.". I am somewhat lost here, and I am seeking for advice. Thanks so much, Anna |
You do understand that you will not be able to install anything with apt that you cannot install with yum? Packages are generally made for a specific distro (and version) and generally will not work on any other distro (and often not even a different version of that same distro).
|
Perhaps this link will help a little http://dag.wieers.com/rpm/FAQ.php#B
|
Just keep in mind that the link to dag is several years out of date. For instance, RHEL (starting with V5.0) uses yum instead of up2date. up2date itself has been depreciated in both Fedora(starting with FC4?) and RHEL(starting with RHEL5).
|
lazlow,
I'm not sure that I understand. If the script of building jikes rvm needs to use apt, and it then has something with the same interface, then the problem is solved, right? Do you mean that by installing apt, it might download the wrong version (i.e. the Debian version) ? billymayday, From what I understand, it is another version of apt, that can be downloaded using rpm... I will try that. I would prefer understanding why my previous version does not work first :confused: . Did you try working with this version? Thanks so much for the fast replies, Anna |
You can set repos for apt in /etc/apt/sources.list.
Post the output of Code:
whereis apt Will you post the output of a jikesrvm script too? Also,from where did you download jikesrvm? |
I downloaded the tarball and then looked at the howto, I am not seeing apt as a dependency. How are you trying to install it and where did you get it?
|
Hi all,
Thanks for your help. I just wanted to let you know that I found the solution to my problem. Apparently, Sun Java comes with apt natively, and all I needed to do, was to add the java bin directory to my $PATH: setenv PATH ${PATH}:/usr/local/jdk1.5.0_14/bin ... Regarding 'whereis apt', I am getting the following answer: apt: /etc/apt /usr/share/man/man8/apt.8.gz Which is strange :scratch: . I'll leave it alone for now, as my original problem is solved. Thanks! --- Anna |
Just to make something clear;the APT that you Anna are talking about is "Annotation processing tool" and you can find some info here.
Regarding Debian's APT,here's the output from whereis apt in my terminal; Code:
apt: /etc/apt /usr/lib/apt /usr/local/bin/apt /usr/share/apt /usr/share/man/man8/apt.8.gz Code:
find / -name apt -print |
All times are GMT -5. The time now is 04:51 AM. |