Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
(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.
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).
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).
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 . Did you try working with this version?
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 . I'll leave it alone for now, as my original problem is solved.
I don't use Red Hat (I've used Fedora before but I never installed APT),so I can't tell at the moment is there something specific that you need to do if you want to use Debian's APT,but I think that all you need to do is to create repos in /etc/apt/sources.list as I said before to start using it.If you want you can post the output of
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.