Symlink
Hi there,
I'm trying to install the linux-dvb drivers for my wintv nova t and i've come across what appears to be a reasonable guide, however the first thing it says is to create a symlink to a directory, and i haven't a clue how to do this....could someone possibly give me a few pointers? Thanks very much, Dan |
ln -s /path/to/file-or-directory /path/to/name-of-symbolic-link.
For example, to make a symbolic link pointing to kernel source code: ln -s /usr/src/linux-2.4.18-3 /usr/src/linux # Compiling/installing kernel modules You will need to have installed: 1. The developmental packages (compiler) 2. The kernel source code that matches your running kernel 3. The module source or install code Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed: Code:
[fancy@tinwhistle fancy]$ su - Code:
[root@tinwhistle root]# cd /usr/src If you don't see something similiar to this (but in color), you will need to install the kernel source. NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now: Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux Next, did I install the compiler? Code:
[root@tinwhistle src]# gcc -v If you don't have those two things installed, you have to install them first off your install CD. If they are installed, download the source and happy comiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study: # Guides to software management LNAG - How do I install a program I downloaded from the Internet? Rute Guide's software explanation You might want to check out CheckInstall to manage source code installations/uninstallation |
its just a 'shortcut' (a opointer, really) to someplace else.
if u have a file called "abc.c" under the directory "/home/xxx/yyy/abc.c", and u want to have a pointer to it from someplace else, say, in ur '/home/xxx' dir, u wud do (in the '/home/xxx' dir) ln -s /home/xxx/yyy/abc.c abc the above cmd creates a symbolic (-s) link (ln) to abc.c in the dir where u issued this is, and the name of the link is called abc do an 'ls -l' in the dir where u issued the cmd in, to see it. |
Thanks very much, it has done the trick...now for the rest of the guide (and problems no doubt..haha)!
Dan |
All times are GMT -5. The time now is 06:15 PM. |