Slackware :: Pros/Cons Installing From Source Versus Packages
Mar 15, 2011
At work / home / laptops I have about 5 slackware machines. I have always tended to install new packages on each machine from source, generally using slackbuilds when available. I thought I would try 'libreoffice' and reading alien-bobs blog I deduced that a full from source install might be pretty difficult, so I followed his advice and just took the package (.txz file) and used installpkg. To my slight surprise this installed and ran perfectly.
Now I'm wondering if someone would clarify under what circumstances you can just take the slackware package from one machine to another and install. More generally I guess what are the main advantages of building from source. Is it mainly about availability of all the required dependencies?
View 9 Replies
ADVERTISEMENT
Apr 28, 2010
I understand it is not generally a good idea to mix 13 and 13-current packages but I am installing OpenProj which requires JDK and the installed JRE (6-18) is up-level from 13's JRE (6-16) and back-level from the 13-current JDK (6-19). Presumably JRE and JDK should be at the same level. Would it be better to take both JRE and JDK to 13-current (6-19) or to take both to 13 (6-16)?
View 3 Replies
View Related
Jan 27, 2010
I'm mentoring my local high school's IT club as they prepare to participate in a cyberdefense competition (see IT Olympics). Generally we are given four boxes and need to set up a network that provides certain services (which services change from year to year, but usually include a web server, email server, FTP server, and an application server of some sort) and support client PCs that connect from the WAN. The red team then tries to break into our network to steal "flags" from our servers and to set their own "flags" on our servers.
Generally we set up the firewall with two network interface cards (one to the WAN and one to our LAN), and connect the LAN NIC to a router, which then connects to the other three boxes. But we do have the option of installing additional NICs in the firewall and configuring it as a router. I can't shake the feeling that there is a security advantage to such a configuration, but I can't say what that advantage is. Perhaps something with configuring ipTables on the internal boxes to accept connections only from the firewall's NIC, and then only for the services we want that box to support (to prevent an intruder from connecting directly from one box to another)?
View 2 Replies
View Related
Feb 9, 2011
I am having vitural hosting around three websites using Centos. I need to type in the full domain name include www to enter the 2 of the vitural hosting sites. Pros and Cons of vitural hosting vs separate machine? I got a questions about static IP. Assume I having a linksys router with port forwarding function, I have three seperate machines with different private address connect to the same linksys router. Can I entry all private address forward to port 80? Does it work? If I insist to host website on three machines, does that mean I need 3 static IP and 3 linksys router? I got two conventional web services only showing information but one got mysql db for user to input data, thats why I asking if it is good idea to seperate web page on different machines.
View 14 Replies
View Related
Jun 1, 2010
Having both a /usr and /usr/local partition seems logical: A seperate partition for /usr would preserve the /root partition since it changes in size, while reducing the initial install size of /root. Having a /usr/local partition would then preserve custom software (ie. scribus, bender etc.)not distro related, scripts, and settings.
Would having /usr and /usr/local create any problems locating files? I understand that /usr/local has a relative function depending on whether it is being used as a machine in a network context or whether it is being used as a desktop and /usr/local refers to user custom files. I am setting up slackware64 multilib and think I want to preserve both distro and user files to expedite do overs keep trouble shooting clean.
View 14 Replies
View Related
Apr 3, 2011
My traffic is around 10MBdown/2MBup. Would you consider an USB NIC(wired) at these needs?
View 5 Replies
View Related
Apr 24, 2011
I am trying to format an external hard drive and wanted to know the pros and cons of various different formats offered in Linux. I hear that ext4 is better (most stable) than anything else (better than ext3 or ext2) for Ubuntu. I wanted to know where I can obtain more info on these various formats. I want a format that would be (1) as stable as it can get in formating a hard drive, and (2) readable and writable in both Windows and other versions of Linux (say Mandriva).
View 9 Replies
View Related
Jan 20, 2011
I'm thinking about the near future with Unity and GNOME Shell. I've tried both a little and wondered what I'm missing; they seem pretty much the same on the outside! I'm assuming it's similar to GNOME and XFCE; they look quite similar, with XFCE aiming to be lighter-weight, but what's the difference between these two new 3D environments? Why did Ubuntu fork the GNOME environment when it barely differs from what GNOME are providing?
View 3 Replies
View Related
Feb 6, 2010
What are the pros and cons of using wubi instead of dual booting?
View 8 Replies
View Related
May 16, 2010
OS: Ubuntu 10.04.
When I try to install some packages by aptitude, I see this:
Before it, I made it (sudo apt-cdrom add):
And it (sudo apt-get update):
My dvd-disk is not broken - md5 checksum is right. In sources.list I have only cdrom source, without any network repositories. When I install one package (for example pptp-linux) which don't use any depending, it work good, but when I have some group of packages - installed only first package from this group, you can see this in a first image, marked by yellow color and set to 16 percent.
View 9 Replies
View Related
Apr 3, 2010
Can someone please tell me what packages are required for compiling source on Slack 13? Something is missing in my box and I get errors, I can't figure out what it is.
View 11 Replies
View Related
May 13, 2010
I installed Slackware 13 last night and have been trying to get bittornado to properly work. Some background info, I have my partitions set up as follows:
Partition 1: /
Partition 2: /usr/local
Partition 3: /home
Partition 4: swap
I unzipped the tar.gz file and made a package using makepkg, and then installed it. Afterwords, trying to run "btlaunchmanycurses" or "btlaunchmanycurses.py" doesn't do anything. Further examining shows me that it installed the package to my / directory. Shouldn't packages be installed somewhere in my /usr dir? I'm new to linux, I spent some time with it a couple years ago but haven't done anything since.
View 14 Replies
View Related
Jan 24, 2010
I am in need of some more clear information about compiling and installing various applications in Slackware. I mean, i am not that new in Linux world, but i am not used to having to check for dependencies on my own and making Slackware packages myself. Things i would like to know more about and would be these:
a) is there some magical way you use to find out what dependencies a package has? I would appreciate as much information in this field as much as i can get. As now if i download source of some application i have completely no idea about what it needs from my system to function properly or where to look for this information. I think there should be more "correct way" than goggling for it...
b) I know about nice site SlackBuilds.org that it is, but lets say i want to install application A, and there is written, that application A requires application B, which requires application C, and this one needs application D. So now i have to spend good half of a day getting and compiling dependencies for one application, i mean common there has to be a quicker way to do this... at least some tool that would let me build some kind of ques that would be processed automatically or some kind of trick... So if you know some focuses under your sleeve, then please oh please do share
c) I would also like to know more about optimizing Slackware for boot time and general performance (but it's not that important, there are a lot of walls of text about this in Google world).
View 9 Replies
View Related
Jun 23, 2010
I downloaded the source for the latest valgrind and ran ./configure. It quits saying:
Quote:
checking the GLIBC_VERSION version... unsupported version
configure: error: Valgrind requires glibc version 2.2 - 2.10
I've seen a slackbuild package for it. I'd like to have valgrind installed, but I'd prefer installing from source. Are unofficial packages the only way to go for the newest or newer release? EDIT: I meant to ask also, very important, what problems could arise from installing a slightly older version? I don't need a long, complex answer. Just off the top of your head, if it would be real stupid to do, let me know. I can google some time.
View 1 Replies
View Related
Mar 2, 2010
if I wanted to install all the packages from the slackware cd in the extra dirctory do I have to install them one by one or is there a way to install them all at once?
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
Jan 4, 2011
I have HandBrake 0.9.4 installed from Slackbuilds.org, but a new version came out yesterday that I want to install, but it isn't up on slackbuilds yet. Can I install it from source without doing anything to the old install?
When I installed it from slackbuilds, the slackbuild script also installed all the external multimedia libraries that I need. If I use removepkg (or whatever the command is) to remove the old HandBrake before installing the new one, will that also remove the multimedia packages that were installed along with handbrake? They were all built into the same .tgz
On my work computer so I can't do anything with it right now anyway, so maybe a slackbuild will be up when I get home.
View 3 Replies
View Related
Nov 7, 2010
I'd like to clear up my misconception towards various types of installations. Is one better than the other? Do more senior people prefer compiling from source code? Hows does is compare to yum install or install from rpm?
View 7 Replies
View Related
Feb 17, 2011
I'm running CentOS V5.5. I am intererested in several packages available under RHEL V5. Is it possible to install these directly into CentOS or should I be looking for a package built for CentOS 5 specifically?
View 7 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
May 19, 2010
I have a Dvd of Slackware as well as an Iso image of Arch.
All i know about the difference between Slackware and Arch is the stability, i.e. Slackware is more stable than Arch !
Is that all or there is some other difference which should be considered ?
Which one out of the above two, should i go for and why ?
View 14 Replies
View Related
Apr 8, 2015
I am working on a project which targets both 32 and 64 bit architectures at the moment. My system is amd64. I added i386 architecture using this guide. However, my problem is
Code: Select allapt-get install package-name:i386
prompts the removal of currently installed packages (amd64 arch.) which is the problem.
Code: Select allReading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libportaudio0:i386
[Code] ...
Some of the packages I am talking about are
-libegl1-mesa-dev:i386
-libportaudio-dev:i386
Now, as of now, I want to carry out the compilation using 32 bit libraries, however, I really don't want to install 64bit version of all prerequisites each time I switch the compilation from 32 bit to 64. Is there any way to have both architectures at the same time?
View 1 Replies
View Related
Jul 18, 2011
I'm using VSFTPD on my office LAN for one simple task: to receive-and send - installation images created with Ghost4Linux. Until recently, my main LAN server ran on CentOS, but I decided to migrate it to Slackware (nicer release policy ).
What I usually do is create an 'install' user who can login to FTP, but not on the system. Here's an example of what I used to do on my CentOS setup:
Code:
# mkdir -p -m 0700 /home/ftp/install
# groupadd install
# useradd -d /home/ftp/install -g install -s /sbin/nologin install
# chown -R install:install /home/ftp/install
# passwd install
The relevant bits in vsftpd.conf looked like this on the CentOS server:
Code:
...
anonymous_enable=NO
...
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd/user_list
...
Then I only had to create the /etc/vsftpd/user_list file and put a single line in it to allow the newly created user:
Code:
install Now I've tried to get the same behaviour on Slackware, and I succeeded more or less, except for one thing. There's no way my 'install' user can login to FTP when his default shell is set to '/sbin/nologin' (or '/bin/false'). Only when I change the 'install' users' default shell to a "real" shell like '/bin/bash', he's able to login.
Here's a little practical demonstration of what's happening:
Code:
$ lftp localhost
lftp localhost:~> user install
Mot de passe :
[code]...
View 1 Replies
View Related
Apr 29, 2009
I installed CentOS 5 (x86-64). I got a project which was developed long time ago and need to update it so it can be run in the fresh new CentOS 5.2. All I know about the project was that it had been developed with and wxGTK1.2. I look at the makefile, which contains:
---------------------------------------------------------------------
SYSTEM_INCLUDE = -I/usr/X11R6/Include
-I/usr/include/cairo
[code]....
View 1 Replies
View Related
Jul 1, 2011
I'm currently trying to setup Slackware 13.7 on a server, using software RAID 1. I'm using the README_RAID.TXT document at the root of the Slackware disc as a reference. Anyway, here's what I have so far.
/dev/md1 -> /boot partition
/dev/md2 -> swap partition
/dev/md3 -> / partition
Code:
[root@raymonde:~] # fdisk -l /dev/sd{a,b}
Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes
[code]....
I created an initrd image using mkinitrd -F, added an according stanza to /etc/lilo.conf and ran 'lilo' after that. Now I can boot on the vanilla huge kernel all right. But I can't seem to boot on the generic kernel. Whenever I try to do this, the boot process stops short on the following error message:
Code:
mount: mounting /dev/md3 on /mnt failed: Device or resource busy
ERROR: no /sbin/init found on rootdev
View 5 Replies
View Related
Jan 21, 2011
I would like to create some packages for programs that use the Git software to manage the source, I want to do this directly using the source code in the Git repo as the source code form the package. Does anyone have any hints or directions on how to do this? I been looking round the web for information about this, but all I seem to find is for about storing and build Debian packages from git, this is not what I want to do as these packages are for personal use and I have no need for this.
View 3 Replies
View Related
Jun 23, 2010
Wanted to switch to Kubuntu and decided a clean install was the way to go. Though the learning curve isn't too tough, I've hit a serious snag: When I try to compile a source package according to the similar instructions in each of the README files, I get the same error message;
Instructions:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
su -c 'make install'
[Code].....
I'm liking this KDE 4.4 setup, but if I can't install the improvements from kde-look.org
View 6 Replies
View Related
Jul 8, 2011
My SL6.1 Distribution isn't connecting the the source packages from yum. It says something along the lines of the repo???.xml cannot be found for altrpms & sourceforge packages.
I have already tried using the command:
su yum clean all su yum update package-list
but that failed to work.
and su yum makecache
Is there any other way i can try? Like uninstalling the source from yum then reinstalling it?
View 2 Replies
View Related
Dec 6, 2009
I'm not to sure if i'm using the right terminology but im trying to install rrdtool and it needs all these dependencies. One of them I have installed but it isn't up to date.glib-1.2x needs to updated to 1.17 or higher. How do i go about updating this? I downloaded the source and did ./configure && make && make install but this didn't update it.Also trying to install libxml-2.0 to 2.6.31, im getting a whole list of dependicies.
View 2 Replies
View Related
May 19, 2010
I am building a router and I wonder if I have some rules like this and
/proc/sys/net/ipv4/conf/all/accept_source_route is 0 will it work.
Code:
echo 1000 TEST >> /etc/iproute2/rt_tables
iptables -A PREROUTING -s 192.168.2.0/24 -t mangle -j MARK --set-mark 1
ip rule add fwmark 1 table TEST
ip route add default via 192.168.3.5 dev eth2 table TEST
I am not quite sure is it source routed packages at all. And also even if it works with my router will next firewall drop such packages. I have mentioned before that some things like:
Code:
ip route add default via 192.168.3.5 dev eth2 src 192.168.2.0/24
do not work
View 5 Replies
View Related