General :: Install Deb Packages In Another Directory?
Jun 22, 2010
I have a netbook with a tiny hard drive, and an external drive to go with it. It's running Ubuntu. I want to be able to install some packages to that external hard drive, so that when the hard drive is not plugged in the netbook still functions, just with out some functionality. It doesn't have to be this way exactly, I just want the effect of offloading some of my installed libraries and programs onto the portable hard drive. In other words, just mounting some directories from the external drive wont work because I at least need some basic programs to run normally.
Here are some things I was thinking about but wasn't able to find enough information to actually understand if they are feasible, or how to go about doing them.
Can I do something like this if I use the --root=/media/external switch of dpkg install and then add /media/external/ to my system path?
What if I create some kind of wrapper for dpkg that will install the package into an alternate root (--root=/media/external) and then create a symlink in the internal file system to every file that was just installed on the external file system?
How about something where I chroot into the external drive?
How about something using LVM?
View 2 Replies
ADVERTISEMENT
Sep 12, 2010
When configuring certain programs for compilation from source it's required to include path to required libraries/packages. I don't know how to obtain that information. For example, how do I know the installation prefix for openssl on my system? It's not in the default directory (/usr/local/openssl).
View 3 Replies
View Related
Jul 26, 2011
is there any way to specify the destination directory for each download in apt -get command to save all the downloaded packages in a custom directory instead of archive directory for offline use.If yes then how to use this custom directory to reinstall application ?
View 1 Replies
View Related
Apr 18, 2011
I've got an ASUS eee1005 that I'm trying to load eeebuntu -- I've read good things about it! However, I managed to get it (partially) installed using only unetbootin and the eeebuntu-nbr iso. Luckily I've got other working laptops in the house, or I'd be stuck because now I've got a partially installed distro that isn't allowing me usage of my wireless. Basically, what I'd like to do is be able to go back to the install process and load all the packages I want, which, hopefully, will give me NetworkManager so that I can finally connect. I can boot to the thumbdrive (8gig, btw) but I don't think I've got the right files on it to do the install. Here's what appears on the thumbdrive:
[code]...
I would think that with these files on the thumbdrive, it could find its way into the install process. Apparently not. I've read most, if not all of the 'install from USB' threads and how-to's, and it's still not working right - Now, having a partially installed distro (with GUI that's not GNOME, or KDE. . ?) Are there any options I can use to pickup where the install left off and start adding packages? Or should I just scrap it and re-install?
View 4 Replies
View Related
Apr 30, 2010
Whenever I do sudo apt-get or use the Ubuntu Software Center, I can't download anything because a message comes up saying "Action requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources." I've been trying to download GIMP and Thunderbird, so... I dunno what the problem is.
View 8 Replies
View Related
Aug 31, 2011
I just upgraded from 11.2 to 11.4 and the installation/upgrade worked just perfect. I than followed the instructions in the "New User How To/FAQ", "Multimedia and restricted format" post. I was following the instruction in the 11.4 section. I added the additional repositories as explained. I then was on the section where it talks about going into software management and selecting the "Packman" repository and clicking to "switch systems packages" to the versions in this repository (packman). I than click this link and the "warning" screen appears and I am present with conflict resolution after conflict resolution dialog. It just seems that there are some many conflicts, it just seems wrong and I canceled.
The installation/upgrade appears to have worked just fine. My mail is there, audio and dvd play back worked the first try after the upgrade. I am not clear if this is what I should expect or their is something wrong or if I even need to complete this step for a successfully installation.
View 3 Replies
View Related
Mar 31, 2011
im using fedora 14 and i have a slow internet connection. i want 2 install some packages from the fedora 14 dvd instead of downloading from internet using add/remove packages. i tried to edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo but it dint work.
View 2 Replies
View Related
Jan 5, 2010
HOW TO INSTALL PACKAGES IN IT ,IT SHOWS SOME ERROR (Cannot install source packages) OR (No packages were given for installation.)
View 5 Replies
View Related
Jun 11, 2010
Is it possible to install all packages from an APT repository?
I know it is possible to do it manually, but then you would need to know all the package names, and I don't.
I want to install all the packages from BackTrack into my Ubuntu installation. I really don't like the idea of having it in a VM and having a separate partition for it is even more out of the question. I know that the folks at BackTrack doesn't like it when people leech their repositories, but that's what you get for releasing open source software. Stupid? maybe.. A valid reason? probably not.. Do I still want it? Yes.
Another edit: I have now given up on this as it seems impossible to get it to work even by manually installing packages.
View 5 Replies
View Related
Nov 18, 2010
Recently I Installed New Redhat server while I Install Any Packages It says:
"No such file or directory"
But If I Search the file using [rpm -qa | grep packages_name]
It shows the package , Also If I Use [rpm -qi package_name] It show package Information , Size and Every thing.
Finally when I going install package using [ rpm -ivh package_name] It says
"No such file or directory"
Screen Shot of error link => [IMG]img135.imageshack.us/img135/2430/linuxerror.jpg[/IMG]
View 3 Replies
View Related
Feb 22, 2010
I'm running a Knoppix Live CD, and I want to install ClamAV. What I'd really like is to download all the relevant packages and save them onto a USB pen, and then I can install it easily whenever I run the Live CD anywhere and update the definitions at my leisure without having to connect to the internet or go through remodelling Knoppix. I'm not entirely sure how to do this though, mainly because of dependencies. I would think it would be along the lines of cd'ing to the usb and running:
Code:
apt-get -d build-dep clamav-base
apt-get -d build-dep clamav
and then to install use dpkg, but I'm not sure how to get it to look for the dependencies in the same place:
Code:
dpkg -i clamav-base
dpkg -i clamav
I'm just about to go and try it, but I thought I'd ask first to get the wisdom , but also to see if anyone else does something similar and whether they think this is a good way to achieve the goal, regardless of whether this technically works.
View 5 Replies
View Related
Jan 30, 2010
I do understand that to install software on linux distros that the main way is to have internet connectivity and to download them via RPM or to manually do this in terminal. Can you install software by downloading it from another PC via CD and install it in your Linux PC from the CD? Reason I ask is that I do not have a WLAN setup on my Linux PC yet and would like to install some programs or drivers while I am waiting to get a WLAN adapter that is compatible with Linux. Can you convert drivers or programs to an ISO image that can be installed on Linux? Another reason is that I have read that Wine can be used in the absence of MS Windows to run certain or a few programs in Linux as well as assist Linux to recognize drivers of hardware that is utilized for MS Windows.
View 6 Replies
View Related
Apr 2, 2010
Right now I am using UBUNTU Hardy Haron. I just moved from windows to linux. It is very easy to install any games or software in windows. Just double click exe, next - next and finish. I want to install some mario games in my pc (ubuntu). I have downloaded tar.bz2 of it. Extracted it and configure and install-sh both are there. I already tried by ./configure. It requires g++, cpp several packages. Now my question comes. What are those packages? How to find out them? How to install them? Is there any other easy way for installation? What are different type of compilers over here?
View 3 Replies
View Related
Dec 15, 2010
I need to install almost 10 packages using yum. i know the package names. Is there any way to install them in one single command ?
View 3 Replies
View Related
May 16, 2011
i need to deploy oracle packaged thorugh unix instead of using SQLplus where in you can directly type the commands.
View 4 Replies
View Related
Aug 9, 2011
command list that will install
Perl IO::Pty and Perl IO::Tty modules in RED HAT
Im trying to install a rpm package but I get the following error
Code:
perl IO::Pty need by perl-Expect-1.17-1.rh9.rf.noarch.rpm
perl IO::Tty need by perl-Expect-1.17-1.rh9.rf.noarch.rpm
View 3 Replies
View Related
May 18, 2010
wat are packages used to install svn server...?
View 1 Replies
View Related
Jan 12, 2011
When I try to install uzbl, a minimalistic web browser with apt-get, apt tries to remove all xserver-xorg packages that can't possibly have any relations to the uzbl package - since it's only a web browser.
[ ~/downloads ] % sudo apt-get install uzbl
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]....
View 9 Replies
View Related
Jan 2, 2010
I had installed a debian file using#dpkg -i <file>Now package manager gave count error though that debian file got installed.I tried#apt-get install -fIt says want to download 20MB but no internet on my pc so destined to fail.In synaptic package manager I selected broken packages & marked them for removal.I saw file-roller,totem.seahorse,nautilustc. got uninstalled.question ) I just have iso image of my ubuntu 8.04.How can I use it to install all packages that come by default on cd.
View 9 Replies
View Related
Mar 5, 2010
A few weeks ago I installed Ubuntu 9.10 (32-bit) onto a machine with Internet access, so it was easy for me to run the following commands to install OpenSSH and portmap:
Code:
sudo apt-get update
sudo apt-get install openssh-server
sudo apt-get install portmap
But now I have just installed Ubuntu 9.10 (64-bit) onto a machine without internet access. How do I install openssh-server and portmap onto that machine?
View 3 Replies
View Related
Jan 2, 2010
How can i install total rpm packages in Server folder which is locket at /root/Server
View 3 Replies
View Related
Jun 23, 2011
I found a rpm feature. If you rpm install * and one of the packages fails to install then none of the remaining packages will be installed.
Does anyone know how to use rpm to install packages with file globbing and have rpm attempt to install all of the packages?
I found that --force works, yet I do not want to install over already installed packages.
I doing this because I need to install all of the packages in a directory.
View 1 Replies
View Related
Jun 30, 2010
I am looking out for a command which can give me the list of applications installed and the corresponding install paths for those.let me know if there is any such command. Also, i am using rpm command to get the list of packages installed(i am assuming that this shows the list of applications installed).
View 4 Replies
View Related
May 17, 2010
I am facing issue when trying to install php-pear packages on RHEL 4,
Troubleshoot error.
My php and pear version as below.
View 4 Replies
View Related
May 24, 2011
I am not able to install any package using software manager. I make sure that I remain online throughout the process. When I select any software package to install, a window appears that asks for the authentication code. After entering the code, no progress(in any form) takes place and the dialog box remains idle. The same thing happened when I tried to install cheese, netbeans, gcc, eclipse, build-essential, g++, codeblocks and many other such software packages. I would like to state that this problem is persisting from past two days. Earlier I was able to install software packages using software manager and I had already installed about 10 software packages before this problem actually came into notice.
View 4 Replies
View Related
Mar 16, 2011
I found it easiest to embed narp into the gtk+-2.0 installation because all I needed to do was tweak the Makefile.am and Makefile.in files and let configure do the rest.This is a hack. I've failed at getting my own makefiles to work.
Would anyone point me in the right direction on how to properly make an installer for Linux? Also, what is the correct/common directory tree for Linux software packages? Any more suggestions on proceeding with this project using community standards?
View 2 Replies
View Related
Sep 21, 2010
How to add packages using X-Window's add/remove packages option in RHEL-5.3 as it shows only the currently installed package and and does not show any thing when we click the button "available packages" ?
View 2 Replies
View Related
May 8, 2010
I have been working on Redhat family of distributions since past 1 year. Two days back I installed Ubuntu 10.04 on my laptop. I am novice to Package Management in Debian family of Linux distributions. My Internet connection is working fine. But I am not able to install any package with apt-get package Manager. Here is my /etc/apt/sources.list file
Code:
deb http://in.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://in.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
[code]....
View 12 Replies
View Related
Jul 24, 2011
I have had some help with root password su and sudo su, but I can not find the correct password to install or remove programs. I keep getting the same message ' Authenticate' Authentication is required to install software packages. An application is attempting to perform an action that requires privileges.Authentication is required to perform this action.Then it asks for a password, I've tried enter, seacats, knoppix, user, and my root password. None of these work I seem to be a second user and not the owner.
My Linux language is very low, but I am learning, right now in order to find or try to install software I go through the startup menu> preferences> software center. Is there another way to find and install software that doesn't require and authentication password? If so where do I find out the steps to do this? Hands on is always the best teacher.
View 2 Replies
View Related
Mar 12, 2011
I have Fedora 14 on my old desktop,Thats it no other OS. Is there a way i can downlosd packages to usb on my vista laptop then install to my dasktop. you know things like mplayer and all the codes.
View 2 Replies
View Related