General :: Specifying Destination Directory When Installing Slackware ?
Jan 25, 2010
I'm trying to install Slackware package into some specific locations, like for example, I want to put Linux base package into at / and put applications on /usr/local. However when I'm installing using "setup" program, I cannot find a part that let me to choose the installation destination.
At "setup install" option, it gives six different installation method like full, newbie, menu, expert, custom, and tag path. But none of them (I cannot find it) gives an option where to put the installation package to.
View 2 Replies
ADVERTISEMENT
May 9, 2010
how do I gunzip to a destination directory other than the current one?
this did not work:
gunzip *.gz /putthemhere/
View 2 Replies
View Related
Jul 28, 2011
I am performing a dry run using Rsync on 2 different boxes.While i'm doing that, Under destination directory, I want a specific directory x to be ignored for sync.Please let me know the exact pattern to ignore the directory.The current command I'm using is:rsync -avnc --delete $LOCAL_DIR $USERNAME@$DESTINATION_IP:$REMOTE_DIRunder DESTINATION_IP, I would want to ignore a particular directory under REMOTE_DIR.
View 1 Replies
View Related
Jul 14, 2011
We have an rsync cron job set up to mirror all the files in a "..dashtdocsdocs" folder to the same folder on another server. It copies all the files over correctly and deletes any files in the "docs" directory that aren't in the sending directory, but it also deletes any files we put in the target directory's parent folder (..dashtdocs or other subfolders like ..dashtdocsimages) even though they've been excluded in the .rsync-filter file.
Here's our current rsync .sh:
/usr/local/bin/rsync --stats -qPzrtpl --delete --password-file=/var/run/.appprodrsync --log-file=/export/home
/webuser/logs/rsync-extranet-log -FF /export/home/ appprodrsync@appprod::dprweb_extranet/ > /export/home/webuser/logs/rsync-extranet-output 2>&1
[code]....
So for example server A has ..dashtdocsdocs and ..dashtdocsimages. Server B has ..dashtdocsdocs but if I manually copy the images folder over to ..dashtdocsimages, the images folder gets deleted from the target directory every time rsync runs.
A: ..dashtdocsdocs
..dashtdocsimages
B: ..dashtdocsdocs
..dashtdocsimages (<-- gets deleted everytime rsync runs)
I'd like to keep just the docs directory synched and update other folders manually, but they keep getting deleted. It looks to me like it's running a delete-excluded option, but that option wasn't used.
View 2 Replies
View Related
Jul 8, 2011
I have the following content on the source directory:
source/foo.txt
source/bar/another_file.txt
source/bar2/and_another.txt
I want copy those files to a destination directory which, after copy, shall look like this:
destination/foo.txt
destination/another_file.txt
destination/and_another.txt
How can I do this? It seems that "cp" lacks such an option
View 1 Replies
View Related
Dec 7, 2009
On Debian Standard System I would like to is change /tmp directory from it's original /dev/hda8 to destination /dev/hdd5
Code:
Disk /dev/hda: 6448 MB, 6448619520 bytes
255 heads, 63 sectors/track, 784 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]...
If I change /dev/hda8 to /dev/hdd5 and reboot the startx command fails to run.
View 7 Replies
View Related
Mar 10, 2011
So I have patched the 3.2 sources similar to the 3.1.3 sources. I used the slackbuild from 3.1.3 as well. I get to the install of the script and I get this:
Code:
...
running install_egg_info
Writing //tmp/SBo/package-python3/usr/lib64/python3.2/lib-dynload/Python-3.2-py3.2.egg-info
Creating directory /usr/man
Creating directory /usr/man/man1
/bin/ginstall -c -m 644 ./Misc/python.man
/tmp/SBo/package-python3/usr/man/man1/python3.2.1
cp: cannot stat `Demo': No such file or directory
I can't build Blender anymore without this update.
View 7 Replies
View Related
Nov 15, 2009
I have a file that has been created by exiftools and then parsed and cut to fit my needs and thrown into a file that looks like this:
Code:
I then make the file executable and then execute it. Trouble is, the destination directories don't actually exist, so naturally, the "ln -s" fails.
Is there a way to create the destination directories dynamically based on what is specified in the file above?
View 3 Replies
View Related
Jan 13, 2011
[URL]
This is step 2.2:
Quote:
Open a terminal and change the directory to the download destination.
I'm not entirely sure what that means! I've tried doing the other steps without doing that one and it doesn't seem to work.
View 1 Replies
View Related
Jan 23, 2010
I try to install Slackware to my IDE hard drive and boot first from Slackware DVD. After I loaded huge.s kernel, and tried to partition the hard drive using fdisk by entering "fdisk /dev/hda", I found out that the partition size is max to 3 Gigs instead of 80 Gigs.
I think the kernel is looking at my boot disk, which is around 3 Gigs. How can I make so that it looks at my IDE drive instead at my boot drive? Is there any manual that shows me how to install Linux from scratch this means I want to wipe out all my hard disk and install Slackware Linux there?
View 2 Replies
View Related
Sep 18, 2010
I cannot change directory to a more than three folder tree destination folder from ~ in terminal. I've checked everything. No Typos or misspell. The destination folder was recognized by "ls" command but when I went to it, the terminal said, "no such file or directory."
View 7 Replies
View Related
Jul 2, 2010
I am new to deb package. I have read some docs, but did not know how to specify the destination for to-be-installed files. For example, I want to install under user's home directory. How to specify that?
View 7 Replies
View Related
Jun 22, 2010
I am installing one software (pwDesktop [url])
I am using ubuntu 10.04
I am following these stapes:
But it saying there is no such file or directory.
View 12 Replies
View Related
Dec 23, 2010
I want to install a program (specifically metasploit), and have it accessible from any directory in the terminal. I have it installed correctly, but I have to travel to the directory it is installed in to run it (by using ./msfconsole ). I want to be able to be in any directory and just run "msfconsole" and have metasploit run. I have to copy the metasploit folder to the /opt/ directory? Maybe the /usr/bin/ directory?
View 3 Replies
View Related
Sep 11, 2010
I'm trying to install a WiFi Wireless IEEE 802.11N/G/B WLAN 150Mbps Network Adapter USB2.0 on Slackware. I get the following message when I enter "make install." cannot stat rt3070sta.ko no such file or directory
View 9 Replies
View Related
Feb 12, 2011
/usr/bin: No such file or directory and I cannot run any adduser commands from root of my new install of Slackware 13.1. This is my first time every installing a Linux distro and I am confused as to why I cannot do anything from the root command that I have been reading in Linux forums?
View 2 Replies
View Related
Aug 1, 2010
I came from the Debian world so I did not do much building software from source. I successfully built wine from source, now the wine binary is in the same directory where the Makefile and all of the other source stuff is. I can run wine from that directory fine, but I sort of want to move it somewhere else. I tried moving the wine binary somewhere else, but when I try to run it I get
[code]...
What all do I have to move into the new directory to get wine working in the new directory? By convention, where should I move wine, I want it available for all users, should I move it to /opt/wine, or /usr/local/wine, or somewhere else?
View 6 Replies
View Related
May 26, 2010
When I use the cp or mv command to copy/move files is there a way for me to have the destination file assume the same name of the source file, however add an additional suffix.
For example
Code:
Now what if I wanted this...
Code:
Do I have to type the destination file out manually everytime? or is there a quick way for the cp or mv command to assume the source file name and add the .bak
View 5 Replies
View Related
Aug 18, 2011
I am installing a program on a server as a non-root user. Specifically it is tmux 1.5, but this should apply broadly to all locally installed program in my opinion (I mention the program name in case this problem ends up not being my own error).
The program requires me to install some dependent libraries (e.g. libevent and ncurses). So, I installed them both locally since I do not have root access
cd $HOME/library/installation/folder
DIR=$HOME/local
./configure --prefix=$DIR
#... make ... make install
[Code]....
Ok, so this installs the program without problems into $HOME/local/bin, but if I run the executable: $HOME/local/bin/tmux , I get the following error:
tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
It would seem to me that the program cannot find the desired libraries, but the file libevent-2.0.so.5 does indeed exist in $HOME/local/lib as specified in the configure options. I am wondering how I can get the program to recognize the installed library in order to run. I tried putting symbolic links in $HOME/lib, $HOME/bin, and $HOME/local/bin, but none of these worked.
View 2 Replies
View Related
Jan 24, 2011
I have a laptop with broken ubuntu and windows 7. I want to replace ubuntu 10.10 with slackware 13.1. If I was to just install it over the top would the slackware bootloader (lilo?) Replace the ubuntu one(grub?). Because that would make my life easier.
View 3 Replies
View Related
Nov 29, 2010
I am completly new to Linux and managed to download slackware 13.1 iso and burn it to disk 1 and 2.I installed disk 1 and set the laptop up fine but it could not find disk 2. I can burn again but do i need to burn in a certain format or as an iso? also i do not know how to get linux to read a cd or mount it?
View 14 Replies
View Related
Feb 5, 2010
Let us assume I have a zip file called patch.zip, when I run unzip -l patch.zip I get the following output.
bin/a
bin/b
lib/c
To this zip file I want to add a new file, "Readme.txt" located at /path/to/Readme.txt in such a way that, when I re-run unzip -l patch.zip again I get something like this
bin/a
bin/b
lib/c
doc/Readme.txt
View 2 Replies
View Related
Jul 9, 2011
We used to send files in the form of .jpg, .tif, and/or .pdf. Normally the file name will be in the form of 08072011IE01CTYHUB.PDF (DDMMYYYY - is the date, IE - publication, 01 - page number, CTY - edition name and HUB - destination in three characters). These files will be stored in a common folder (say SOURCE). I need a script to move these files to destination by reading the destination from the file name through FTP. At destination these files should be moved to a folder meant for CTY. Please note before the file is sent through FTP it should be compressed (zipped) At SOURCE folder the files will be as:
08072011IE01CTYHUB.pdf
08072011IE01CTYSMG.pdf
08072011IEdavanamCTYHUB.pdf
08072011IEversaVANSMG.tif
etc. where first 8 characters are date in the form of DDMMYYYY, next 2 characters are publication, last 3 characters are destination, previous 3 characters are edition and left over in the middle are page number in the form of NN or name. Presently I am zipping these files and send it through FTP to the destination. At destination my counterpart takes the file, stores in appropriate location (like folder name CTY) for use. To automate the above process, I want a script.
View 1 Replies
View Related
Mar 9, 2011
I want to know what is a source port and what is a destination port.
View 7 Replies
View Related
May 20, 2011
The Slackbook reads:
Quote: The precompiled Slackware kernels are available in the /kernels directory on the Slackware CD-ROM or on the FTP site in the main Slackware directory. I am unable to reach it, what's the proper login?
[Code]....
View 3 Replies
View Related
Dec 24, 2009
I wanted to dual-boot Ubuntu and slackware, and use one swap. Well, I had Ubuntu installed and used installed slackware, and the boot hangs when I try to boot into the latest kernel; it says it's waiting for a UUID = (some random characters. I tried to enter a recovery mode for the latest kernel, and I couldn't even log in as root or my log in.
View 2 Replies
View Related
Dec 14, 2010
I've downloaded the static .tar.bz2 file for Skype .
[code]...
Same with Flash, my default browser is Konqueror. explain everything for dummies. I've also created a non-root user (kasu) and when I try logging in, I get the error message; There's no home directory and it can't be created.
View 5 Replies
View Related
Apr 15, 2010
I have one machine with two disks that I'd like to install Slackware on. I'd like to have the root folder and installed folders on hdb, and just have have hda as a disk I can use for storage (without any home directories, etc.). My problem is, I don't know how to make this boot, as I think LILO is installed on the primary drive, but the boot folder is located on hdb. I tried doing this before and was having problems booting, so I was just going to go through the whole process again, but don't really know the correct procedures.
View 2 Replies
View Related
Feb 21, 2011
Suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt
How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt
Can 'cp' search for all file and copy them in another folder?
View 3 Replies
View Related
Feb 9, 2010
I have recently purchased an external hard drive in order to backup my home partition. In my PC I have a "1.5T" drive with several partitions on it, containing OSes and the home partition. The home partition is 1.3T according to df, the external drive contains one partition that spans the entire disk,df reports it as 1.4T in size. Both partitions are ext3. When I use rsync to copy files from the home partition to the external partition, the external disk becomes full, despite the destination - supposedly - being larger than the source. I don't understand why copying files from one partition to a slightly bigger partition should need more space than on the source partition. Does anyone know what is happening ?
Details : I created the partition on the external drive with gparted; gparted reported it the already have several gigabytes in used space immediately after the partitions creation - I thought at the time that this must be normal. The home partition contains many files of all sorts, including lots of big audio and video files. If you are wondering, for all my important files this external disk is only secondary backup, as they are also backed up to the "internet".
These are the mount points :
/mnt/tmp/ : home partition, /dev/sdb6
/mnt/external/ : external partition, /dev/sdc1
I used rsync to copy the files, I know there are more efficient ways to do this, but I wanted to use the same command that I will subsequently run to sync the backup.
rsync -av --progress --stats --recursive --perms --links --delete /mnt/tmp/ /mnt/external/
Next I tried adding the --sparse switch, as I was wondering if the problem may come form sparse files. I don't know however if rsync would go back and shrink the sparse file by just adding the switch and executing the command. I also added --one-file-system, for good measure. Here is what I ran next :
rsync -av --progress --stats --sparse --one-file-system --recursive --perms --links --delete /mnt/tmp/ /mnt/external/
I tried an fsck on the home partition :
fsck -f /dev/sdb6
This is the output from the last rsync :
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on "abcd.avi": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.6]
[code]....
Looking at the destination after a partial copy seems to indicate that the problem is not symbolic links being "expanded". I have not checked the source filesystem for sparse files, nor the destination to see if these files could be larger there, as this does not seem trivial.
Here is some additional info :
$ df /mnt/tmp/
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb6 1415342836 1414173740 369096 100% /mnt/tmp
[code]....
View 2 Replies
View Related