Red Hat / Fedora :: Difference Between Source Files And Just RPM?
Nov 29, 2008
What is the difference below these files?
1)Say an application is written and is having source files.
2)A file called source rpm package
3)A rpm package
In case of (1) we need to compile using either the make or if we know using appropriate compiler with proper libs included. Can I know what's the difference between (2) and (3)?
View 3 Replies
ADVERTISEMENT
Aug 3, 2010
What is the difference between kernel-source.x.x.x.x.rpm and kernel.x.x.x.src.rpm?
View 2 Replies
View Related
Jan 20, 2010
There is .profile under my directory and I found another one under /etc/ . I know the first one is the one we edit for path and alias and stuff. but how does it differ from the one in /etc?
View 2 Replies
View Related
Feb 11, 2010
Before installing Fedora on my laptop I backed up my files onto a USB key. I wiped the hard disk and installed Fedora 12. I copied my files back to my home directory - but all the text files are now binary! Any ideas why this would be or how to fix it??---------- Post added at 10:54 AM CST ---------- Previous post was at 10:35 AM CST ----------Hmm it seems that only some files are binary. Looks like some .tgz files are corrupted too.---------- Post added at 11:02 AM CST ---------- Previous post was at 10:54 AM CST ----------Damn - I wonder if the files weren't completely written to the usb key before I removed it. I don't remember their being a safe mount option in Fedora 10 - but I definitely unmounted it before removing it from the laptop.
View 1 Replies
View Related
Jul 24, 2010
If I have a script called runScript I can 'run' it in serveral ways. I understand the basic difference between
Code:
./runScript
and
Code:
source runScript
. Recently however I have come across
Code:
. runScript
What does this last one do that is different to the others?
View 1 Replies
View Related
Dec 10, 2010
Can any one tell me what are the differences, pros and cons when I install something from source versus installing that thing from rpm.
View 1 Replies
View Related
Mar 11, 2010
It is my understanding that building from source is slightly faster since the created binary will be specific to the current kernel/system. This seems to have the drawback of when the kernel is upgraded the source compiled package will no longer work...but this is not always the case. So what kernel upgrades will cause a package from source not to function? Side bar to that, I have a package that is only available in source format that I need to install on numerous hosts. It seems that the upfront work of creating my own RPM for this package is worth it to make managing the package more efficient, and I think I have two choices: src-rpm and standard binary rpm. If I build a src-rpm and I distribute that for installation will a kernel upgrade 'break' the package since it is actually being compiled for a specific kernel at the time of install? So far I have found a lot of information, and have spent time reading the rpm docs, etc, but I don't feel like I have a good grasp of what the specific portability differences are between source, src-rpm, and rpm.
View 1 Replies
View Related
Aug 11, 2010
What is different? When I execute the "man source", and "man ." are same. Is it same? or not? If it is different, what is it?
View 2 Replies
View Related
Feb 4, 2011
Very often we get to hear Binary / Source when we talk about installing packages...From what I understand "Binary" refers to a natively packaged installation by a Distro wheras installation from Source would entail fetching the files, Compiling and then building the package. When we say "source" where do these codes reside? Is it diffferent for different distros or one common source like "sourceforge.net" or similar?! I know it sounds silly but what is the origin of the source codes??
One general remedy if a package is not found is to install from source... So , source would refer to a "tar.gz" or "bz2" archive present at some location like "[URL]". In some cases , id it possible that some packageas are not available in "Source". When I tried to build a package for a particular distro , I was told that some dependencies are not un the source ...What is the meaning of this? So do all distros maintain the codes in their official repositories?
View 1 Replies
View Related
Jun 14, 2010
I have written a set of aliases in a file.When i tried to dot it( "Prompt> . filename" ). It said " Permission denied. "But, when I sourced it ("Prompt> source filename"). It worked perfectly.Linux manual has one entry for both the commands. Then what am I missing ?
View 5 Replies
View Related
Apr 19, 2011
I am looking for the opinions of some linux users as to why they prefer using open source software and what they perceive as the main differences between it and proprietary software. In particular, I am curious as to what meaning, if indeed any, users and contributors ascribe to the open source community and how they view it on a less technical level.
View 14 Replies
View Related
Oct 26, 2010
1) A 13-years old boy wasn't impressed by KDE 4.x. Its own Window$ looks also nice and pretty and have similar functionality.
2) Open Source? How to explain a difference between open source and freeware? Do we really benefit running open source programs instead of freeware? Most of us will never read a line from a source. We want, we require easily accesible binaries.
So why a common window$ user find worthy to run Linux? What can Linux offer? Linux should be as different from window$ as it is possible.
3) Twm window manager is definitely something strange - in the way the vi editor for notepad users. Twm is for some reasons better than any other wm. I started both kde desktop and xfce desktop under twm. Both desktops can be iconyfied. It is your choice which at this moment you prefer. But you can work with both. Full democracy. No more discussions which is better.
4) When finally developers of KDE, GNOME will make these desktop almost perfect they will be obsolete. In fact they are today obsolete. It is about 20 years working in the same manner. Windows, buttons, mouse's click - I think it's enough. At least I am really bored.
5) NextGen UI. Not GUI but UI. A core of the nextgen UI will be an AI
engine. Also see p. 4, we may think about VUI - virtual environements,
you can run all your preferable GUI simultaneously. Or any other today predefined UI (eg. cli).
6) What about windows (parts of a graphical screen)? Nothing. If AI will be in the core you will need windows only for watching video and playing games.
Finall remarks: It is not a project only an idea. My intuition tells me that there is a time for changes. Time for swimming in deep water.
View 11 Replies
View Related
Oct 22, 2010
i want to find out the difference between installing software straight from source and from an RPM.
View 6 Replies
View Related
Feb 8, 2011
Is there any open source software that can open MS Visio files?
View 8 Replies
View Related
Feb 20, 2011
Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.
Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.
View 5 Replies
View Related
Jul 3, 2011
It sounds like he's making a difference between the kernel "source code" and the kernel itself(as in the downloaded file/ files) but the way he talks about both is the same.So then, if one had already "installed" the "kernel sources code," why would he need the "tarball with the newest Linux kernel?" He's already "installed" a kernel, right?
View 3 Replies
View Related
Oct 25, 2010
i am using diff command... to get difference between two file. but the thing is its giving both file difference and i need only the difference of 1st file comparing to 2nd file for that it shoud not show anything abt 2nd file.
View 1 Replies
View Related
Feb 19, 2010
installed the fedora 12, but dont know how to use the source dvd to install the source package.
View 3 Replies
View Related
Aug 22, 2011
What is the difference between "bin" and "netinstall" ISO files for Linux?I need a full OS, not just a Live CD. On the mirrors there are two kind of files.Which one is the full OS?
View 1 Replies
View Related
Nov 7, 2009
I'm new to linux,so i'm confused with MOUNTING files. give differences and unique functions of the FSTAB, MTAB, /PROC/MTAB files.
View 2 Replies
View Related
Jul 14, 2010
I want the difference of two text files(a.txt & b.txt) into a third text file(c.txt). i.e. New or Differert rows of a.txt compared to b.txt
a.txt>
10128|10153|999999
10343|10153|000
10345|10153|3846
10351|10153|3846
b.txt>
10128|10153|999999
10343|10153|3853
10345|10153|3853
10349|10153|3853
c.txt should be like>
10343|10153|000
10351|10153|3846
I tried comm,but man says that the files have to be sorted in order to use comm. I dont want to sort the files.
View 3 Replies
View Related
Apr 4, 2011
I just upgraded my kernel to version 2.6.38 & I seem to have missed a few modules. I tried using diff to get a list of the differences between the files lsmod-2.6.35 & lsmod-2.5.38, which I created for this. Unfortunatly I can't seem to figure out the right syntax to do what I want which is to just show me whats missing. For example, I want to subtract the lines from file1 & file2 which are the same, leaving me with the difference in file3. i.e. file3 = file1 - file2 Is this possible or am I just using the wrong program.
View 3 Replies
View Related
Mar 18, 2010
I want to find the difference between two files in different servers , which have trust enabled to ssh without password.
Am using the following command , which shows no output. But i am able to see some difference there in the files manually.
Code:
serv1$diff .profile `ssh serv2 ls .profile`
View 1 Replies
View Related
Jul 3, 2009
I usually custom compile my kernel and generate the header files with the following command:
Code:
fakeroot make-kpkg --initrd --append-to-version=generic-ide kenrel_image kernel_headers
However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:
Code:
debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:
Code:
debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls
boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen
crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video
As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.
View 4 Replies
View Related
Jun 20, 2011
I noticed something a little odd I'm hoping someone can enlighten me on. I noticed in a couple of cases that a package has the proper version, but differs in two regards.
1. The package ends up with a .el4 on the end of the version for Red Hat 4.
2. The actual MD5Sum of the files the package provides differ.
An example below:
Code:
[root@RH4ES32-MCE bin]# for i in `rpm -ql GConf2`;do md5sum $i;done;
md5sum: /etc/gconf/2: Is a directory
9f90335546f7c57ae6fb552cc2b919c5 /etc/gconf/2/path
md5sum: /etc/gconf/gconf.xml.defaults: Is a directory
[code].....
So my package changed slightly to now show .el4 versus just 2-2.8.1-1 I've indicated in the first output above that the first couple of lines differ. I stopped my comparison at that point as they truly are different.
View 8 Replies
View Related
Apr 29, 2010
How can I recover My deleted files in ubuntu? What's the difference between "foremost" and "scalpel"? And is there any other program(or package?) For this purpose in ubuntu? I am running ubuntu 9.10
View 1 Replies
View Related
Apr 22, 2011
I'm messing with my samba config file. For line comments, some use a number sign/pound sign/hash symbol, while other lines use a semicolon:
Code:
############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
[Code]....
View 5 Replies
View Related
May 17, 2011
i am using red hat linux 2.4 . I have 3 folders dir1 dir2 dir3 I have tarred them like this.
1.tar cvfz tarball_1.tgz dir1 dir2 dir3
2.tar cvfz tarball_2.tgz dir1 dir2 dir3 2>& /dev/null (So that it does not display any error message or operation details to the user)
[usr@machine]$ ls -lrt
-rw-r--r-- 1 usr grp 199843988 May 17 13:39 tarball_1.tgz
-rw-r--r-- 1 usr grp 199837488 May 17 13:53 tarball_2.tgz
But can any one explain the size difference as seen in list output...
View 4 Replies
View Related
Nov 25, 2010
I have a Centos 5.5 server and I had a problem with its time because it was 1 one hour ahead of my local time. I installed and activated NTP and I created a link for /etc/localtime:
Code:
ln -sf /usr/share/zoneinfo/America/Mexico_City /etc/localtime
I reboot the server and waited for 1 hour but the time wasnt correct. The server's BIOS clock has UTC time so I edited /etc/sysconfig/clock file replacing:
Code:
UTC=false for
UTC=true
I reboot the server and waited for 1 hour but the time wasnt correct. After breaking my head for about 1 hour, I realized that there is a directory /usr/share/zoneinfo/Mexico and changed my link for /etc/localtime
Code:
ln -sf /usr/share/zoneinfo/Mexico/General /etc/localtime
And It worked. What is the difference between America/Mexico_City and Mexico/General files in /usr/share/timezones, they should be identical but of course they are not?
View 1 Replies
View Related
Oct 7, 2010
I've been wanting to try editing programs on linux (like for my own personal mods), but I cannot find out how to load the source files into an IDE, I don't want to use Kate or gedit because it's time consuming looking at 50+ files trying to find where a piece of code would be at (say trying to find ColorDrawer.Tablet.MakeFile(thisfile,here);, and having to look for a file with the ColorDrawer class) back when I was on windows I used Visual Studio, and I liked how I could highlight the classes or actions and open the file that they were within. I've tried constant programs, MonoDevelop, QT Creator, CodeBlocks, etc, but I'm clueless as to how to actually get a source code to load into a solution. How would I go about getting say http://neverball.org/neverball-1.5.4.tar.gz into a solution for MonoDevelop (or any other IDE)?
View 9 Replies
View Related