• General Linux Chat and Small Questions v. Install Arch
    4,946 replies, posted
[QUOTE=SGTNAPALM;36621196]Hey guys, I'm wondering what would be the best way to learn more about simple Linux and simple Linux programming? I want to get some practical Linux experience so that I could put it on my resume and make myself a more attractive employee. The most programming experience I have is a course I've taken in Visual Basic and I have basic programming theory down.[/QUOTE] If it's Visual Basic 6: poor you. If it's Visual Basic .NET: try C#. It's practically the same as it's also a .NET language, so most of it will be familiar, except it has a C syntax. From C# it's fairly easy to learn C/C++. As for Linux programming, I don't have a lot of experience on that area, but you could try making a (very simple) shell using the Linux API. I had to do that for an assignment for an Operating Systems course which you can see at [url]http://www.liacs.nl/~krietvel/courses/os2012/os-2012-assignment1-shell.pdf[/url]. Alternatively you could also try some bash scripting. While I'm not too familiar with that, there's tons of resources around to help with that. As for Linux itself, what I usually recommend is to try install something like Arch Linux. It has a very good wiki and the entire process of installing and configuring Arch Linux is documented pretty well at [url]https://wiki.archlinux.org/index.php/Beginners%27_Guide[/url].
[QUOTE=horsedrowner;36621325]If it's Visual Basic 6: poor you. If it's Visual Basic .NET: try C#. It's practically the same as it's also a .NET language, so most of it will be familiar, except it has a C syntax. From C# it's fairly easy to learn C/C++. As for Linux programming, I don't have a lot of experience on that area, but you could try making a (very simple) shell using the Linux API. I had to do that for an assignment for an Operating Systems course which you can see at [url]http://www.liacs.nl/~krietvel/courses/os2012/os-2012-assignment1-shell.pdf[/url]. Alternatively you could also try some bash scripting. While I'm not too familiar with that, there's tons of resources around to help with that. As for Linux itself, what I usually recommend is to try install something like Arch Linux. It has a very good wiki and the entire process of installing and configuring Arch Linux is documented pretty well at [url]https://wiki.archlinux.org/index.php/Beginners%27_Guide[/url].[/QUOTE] Thank you sir, and yeah, I believe that I was taught Basic .NET, I was taught off of Basic 2005 which was .NET. [editline]4th July 2012[/editline] [QUOTE=Van-man;36621318]Dick around with as many different Linux versions and variants in a virtualized environment as possible, but go deep and don't just scrape the surface. And try to set them all up for various purposes.[/QUOTE] What do you mean when you say go "deep"? [editline]4th July 2012[/editline] Also I have an old Pentium 4 computer lying around and I plan on using that as an experimentation box. Maybe I could try to set that up as various systems, like maybe make it a user-based OS, or make it an FTP server, or make it a game server?
gar was trying to copy glibc from my lfs installation into my package manager, but the symlinks aren't getting copied over correctly and it's a real pain to copy every single file and directory over (I tried doing a make DESTDIR=dir install but it didn't work). I really don't want to have to rebuild glibc, ugh.
[QUOTE=SGTNAPALM;36621196]Hey guys, I'm wondering what would be the best way to learn more about simple Linux and simple Linux programming? I want to get some practical Linux experience so that I could put it on my resume and make myself a more attractive employee. The most programming experience I have is a course I've taken in Visual Basic and I have basic programming theory down. The most I've done with Linux was installed Ubuntu, Mint, Crunchbang, and Debian on laptops, configuring a CentOS Minecraft server on a VPS, and tried and failed at installing ArchOS on my Desktop in a dual-boot (I couldn't for the life of me get the WiFi drivers down.)[/QUOTE] You could do Perl. It's based on a lot of Unix utilities like awk, grep, sed, etc. And it's a lot easier to understand than Bash. Or you can do C and get a handle on glibc (GNU C library) [editline]4th July 2012[/editline] With C you don't have to do anything complicated. You can do some fun stuff with the /proc or /sys filesystems to output info about the system.
Alright, I got glibc working as a package. Only a few more and I'll have something to show.
Have trouble with running games in Linux, any help would be appreciated 1.Minecraft-No sound, although everything else seems fine. 2.Games from Humble bundle Super Meat Boy, Pyschonauts- Games won't even run Card is GMA 950 (Know that its shit, but these games worked fine under windows)
[QUOTE=Waterrmelonn;36633930]Have trouble with running games in Linux, any help would be appreciated 1.Minecraft-No sound, although everything else seems fine. 2.Games from Humble bundle Super Meat Boy, Pyschonauts- Games won't even run Card is GMA 950 (Know that its shit, but these games worked fine under windows)[/QUOTE] Which distro are you running? Do you have proprietary video drivers installed? Have you tried running the games in a terminal to see what kind of errors they output?
What distro would be the best for a desktop PC? Other than Arch.
I have decided to name my distro Astro Linux, after my dog. Although my package manager is called shark so I guess there isn't really a central theme with it other than animals. [QUOTE=Moofy;36637155]What distro would be the best for a desktop PC? Other than Arch.[/QUOTE] Astro Linux. [sp]just kidding, I haven't even ported bash yet[/sp]
Had an answer until I hit the newline :v:
I just wan't Linux on my primary too. Because it's like everything i use Linux can handle, and it makes my computer way faster at boot and all that, so why not? But it should be the perfect distro, and i am too lazy for Arch. And everyone says Arch and all that, but there are much more distros, if Arch is the only answer why all the others? I like to just stick my USB in and run an install.
[QUOTE=Moofy;36639088]I just wan't Linux on my primary too. Because it's like everything i use Linux can handle, and it makes my computer way faster at boot and all that, so why not? But it should be the perfect distro, and i am too lazy for Arch. And everyone says Arch and all that, but there are much more distros, if Arch is the only answer why all the others? I like to just stick my USB in and run an install.[/QUOTE] You can try as many distros as you want, but a lot of people around here (including myself) use arch regularly and love it. I have to admit I don't have a whole lot of experience with other distros, but I like the philosophy of starting with the bare minimum and taking only what you need. If you want a nice guide to get things to "just work" right away, [url=http://voidstar.info/writing/arch-setup-2.html]this[/url] does a nice job. I didn't follow it to a T, but those points that I did follow worked as advertised; if I ever go back to Xorg I will probably follow the rest of the guide.
[QUOTE=Moofy;36639088]I just wan't Linux on my primary too. Because it's like everything i use Linux can handle, and it makes my computer way faster at boot and all that, so why not? But it should be the perfect distro, and i am too lazy for Arch. And everyone says Arch and all that, but there are much more distros, if Arch is the only answer why all the others? I like to just stick my USB in and run an install.[/QUOTE] You say you're too lazy for Arch but at most it would take a day to get it installed and configured to your preferences but instead you're wanting to hunt down a distro that is already perfect for you, Even if you managed to find one such distro, It is probably going to take more than a day of downloading and installing different distros to find it. In my opinion your're much better just going with arch. Pretty much every other distro is going to require too much work to make it meet your requirements.
Got ncurses and readline ported, now I just need to port bash and then I shall have something to show you. [editline]5th July 2012[/editline] grrr I have no idea how to use chroot Got bash installed, but chroot can't find bash apparently. using chroot root /bin/bash --login [editline]5th July 2012[/editline] guess I'll try and install a bunch of packages and see if I can't make it work.
[QUOTE=Moofy;36639088]I just wan't Linux on my primary too. Because it's like everything i use Linux can handle, and it makes my computer way faster at boot and all that, so why not? But it should be the perfect distro, and i am too lazy for Arch. And everyone says Arch and all that, but there are much more distros, if Arch is the only answer why all the others? I like to just stick my USB in and run an install.[/QUOTE] Have you tried Slackware? I've never used it myself, but a couple of my friends recommend it. [editline]5th July 2012[/editline] Fedora is pretty nice, too.
oh wow I forgot that symlinks are relative. That's why nothing is working.
[QUOTE=Naelstrom;36634917]Which distro are you running? Do you have proprietary video drivers installed? Have you tried running the games in a terminal to see what kind of errors they output?[/QUOTE] I fixed the Minecraft error (had to install lwjgl drivers), HIB games left. How do I run games from the terminal?
[QUOTE=Waterrmelonn;36647078]I fixed the Minecraft error (had to install lwjgl drivers), HIB games left. How do I run games from the terminal?[/QUOTE] You can figure that out by looking through your /usr/bin folder or reading the application shortcut in /usr/share/applications and seeing what it executes. From there you should know how to execute it.
[QUOTE=Rayjingstorm;36639662]You can try as many distros as you want, but a lot of people around here (including myself) use arch regularly and love it. I have to admit I don't have a whole lot of experience with other distros, but I like the philosophy of starting with the bare minimum and taking only what you need. If you want a nice guide to get things to "just work" right away, [url=http://voidstar.info/writing/arch-setup-2.html]this[/url] does a nice job. I didn't follow it to a T, but those points that I did follow worked as advertised; if I ever go back to Xorg I will probably follow the rest of the guide.[/QUOTE] This is amazing. But what should I use, core or netinstall? Going to install from USB when I get time for it.
Alright everyone, so I have like two weeks where I'll be gone, and I'll have access to a laptop and some internet, but I'm not allowed to install ANYTHING to the laptop, and I want to continue developing stuff. Now, before you start replying with "buy 4/8/1000GB USB pendrive thingy", I have a budget of $0. BUT what I DO have, is a 1GB USB currently formatted with fat32. Now, I've looked into using TinyCore+ and load up something like vim, cmake, make, clang and git, and have that on there. Useable development environment or just a waste?
[QUOTE=Moofy;36650988]This is amazing. But what should I use, core or netinstall? Going to install from USB when I get time for it.[/QUOTE] Netinstall [editline]6th July 2012[/editline] Hooray, my package manager now correctly installs packages, but I still don't have anything to show other than an error message. [img]http://i.imgur.com/XFJlA.png[/img] It's because I didn't install coreutils yet so I can't set my $PATH [editline]6th July 2012[/editline] or not I guess I got coreutils installed but it still complains about it missing (yes, libreadline.so.6 exists in /lib) so I guess I'll just install more packages until it works.
I recommed you going to the official Arch Linux site, go to the Packages menu point, then search coreutils or anything you want, and then you can look at its dependencies.
That's what I am doing. I think I just need to install GCC. I'm probably missing the dynamic linker or something. [editline]6th July 2012[/editline] well crap again Most of my libraries that I built before are now 'out of date' (or something) so when I run make install DESTDIR= to isolate the files it installs it completely rebuilds. [editline]6th July 2012[/editline] Well everything should work now except I forgot where the specs file is and I can't find it where it should be.
Just got my Rasberry Pi today :v: I'm going to get a lapdock for it and run Arch ARM on it. Linux laptop for under $100
What exactly is the appeal of Arch? I've installed it several times, but each time has been a headache. The AUR, a lack of autoconfiguration, etc... it all just seems so pointless, and it certainly isn't going to create a faster or more stable system when all configuration options must be entered by hand. Personally I use Fedora 17, testing repos, Xfce spin. I'm used to installing and having things more or less functional, but I'm more than willing to get down and dirty.
[QUOTE=Tinker Toy;36655339]What exactly is the appeal of Arch? I've installed it several times, but each time has been a headache. [b]The AUR, a lack of autoconfiguration, [/b] etc... it all just seems so pointless, and it certainly isn't going to create a faster or more stable system when all configuration options must be entered by hand. Personally I use Fedora 17, testing repos, Xfce spin. I'm used to installing and having things more or less functional, but I'm more than willing to get down and dirty.[/QUOTE] Those are the best parts!
[QUOTE=Tinker Toy;36655339]What exactly is the appeal of Arch? I've installed it several times, but each time has been a headache. The AUR, a lack of autoconfiguration, etc... it all just seems so pointless, and it certainly isn't going to create a faster or more stable system when all configuration options must be entered by hand. Personally I use Fedora 17, testing repos, Xfce spin. I'm used to installing and having things more or less functional, but I'm more than willing to get down and dirty.[/QUOTE] There is a reason some packages are in the AUR and not the official Repos. If it is in the AUR, you can't be sure it is complete, functional, or well maintained (if at all). The AUR serves its purpose quite well, and if you aren't satisfied you can build and keep track of all of your software yourself. If you need a nice interface to the AUR, packer is a nice alternative to yaourt. And when that fails you can try to contact a developer, or just dive into the package build and search for the error you get while building. If you can access it directly with Pacman, chances are it is up to date and auto-configured to some degree; if you can't you are really on your own :v:
Got a new laptop. Ideapad Z575 (Yes, I know it has AMD, but it's pretty decent for $450). Currently putting Gentoo on it (hopefully I get the kernel compile in one shot this time).
[QUOTE=Niteshifter;36657495](Yes, I know it has AMD, but it's pretty decent for $450)[/QUOTE] There's nothing wrong with AMD. (Unless it's a bulldozer :v:)
I don't get why everyone thinks AMD is garbage lately it's still better for anything that really takes advantage of multithreading. intel's hyperthreading is fine and dandy for gamers but with only 4 actual cores unless you want to pay out the ass it's just no good for hard number crunching. I'll go with a 6-core AMD processor any day of the week, it simply performs better for what I'm doing.
Sorry, you need to Log In to post a reply to this thread.