Some Linux questions


Recommended Posts

  HBGuy said:
I got the command line stuff to work and the tarball files are now uncompressed. :yes: But now I want to figure out how to install the darn things. :(

(This is so annoying. I almost want to go back to Windows...)

If you're doing it from source:

./configure --prefix=/usr

make

make install

Check ./configure --help for more flags you can use.

Try opening up a shell and then su to root. (type su and hit ENTER, then enter your root password).

Then try doing the following:

yum install gftp

If that works, you should be able to get mplayer[//b] and xmms[//b] this way, too. Not sure, but maybe php, too.

nvu and whatpulse ( :x ) may require manual work, but this should save you a lot of time.

(by the way, most of those things should already be on your CDs/DVD with Fedora, and you should be able to go to your "Add/Remove Applications..." menu item to pick them, if you want to.)

  markjensen said:
Try opening up a shell and then su to root.  (type su and hit ENTER, then enter your root password).

Then try doing the following:

yum install gftp

If that works, you should be able to get mplayer[//b] and xmms[//b] this way, too.  Not sure, but maybe php, too.

nvu and whatpulse ( :x ) may require manual work, but this should save you a lot of time.

(by the way, most of those things should already be on your CDs/DVD with Fedora, and you should be able to go to your "Add/Remove Applications..." menu item to pick them, if you want to.)

I had already tried that to update those (and some other) packages via Add/Remove Applications; but it told me that PHP wasn't installed on my computer; so that's why I was trying to do it manually. :wacko:

  HBGuy said:
I had already tried that to update those (and some other) packages via Add/Remove Applications; but it told me that PHP wasn't installed on my computer; so that's why I was trying to do it manually. :wacko:

But did you try the yum thing?

  HBGuy said:
Well hey, guess what.

The yum thing worked!!!111 :)

Got a bunch of em installed.

So far I have Gaim, php, mySQL, mozilla, and a few others installed. :)  :D

That's why I suggested it, silly! :p

One thing you might want to do is to do a

yum install synaptic

which will install apt on your Fedora box, and the Syanptic GUI frontend to it.

You may prefer Syanpatic & apt over yum.

[EDIT: Oh, and another cool thing is to do a yum update. It will get updates for your kernel, your OS components, and any application you installed via RPM or YUM (which is just an RPM handler). So, things like GAIM, Firefox, celestia, and even tuxracer will be updated for you - all from that one command. A lot more convenient than Windows, in my opinion. ;) ]

What does this error mean? :unsure: I get it when I go to Add / Remove packages but when I do the yum thing it says the packages are already there> :blink:

http://img.photobucket.com/albums/v156/CMGuy/php_error1.png

(linked cause it's a huge pic and I dunno how to shrink it)

Ahhh..

Dependencies. They can be a pain when trying to set something up.

Can you do a rpm -qa | grep php at your command line?

You should get something like

php-imap-4.3.8-1.1
php-4.3.8-1.1
php-ldap-4.3.8-1.1
php-mbstring-4.3.8-1.1

as a response.

  markjensen said:
Ahhh..

Dependencies. They can be a pain when trying to set something up.

Can you do a rpm -qa | grep php at your command line?

You should get something like

php-imap-4.3.8-1.1
php-4.3.8-1.1
php-ldap-4.3.8-1.1
php-mbstring-4.3.8-1.1

as a response.

OK let's see here...

It says:

php-4.3.8-2.1

php-mbstring-4.3.8-2.1

php-pear-4.3.8-2.1

php-ldap-4.3.8-2.1

And that's all that is listed there. (It appears that I don't have php-imap.)

:wacko:

Somewhere along the line, your package manager got confused. It could have been from different attempts to install rpms directly and by yum. I'm not sure.

I know that you can use a --force to an rpm command to force an install, in the event it is hesitating when it shouldn't.

Or you can use yum remove xxxxx to remove a package and then try a re-install.

I honestly haven't had as many problems as you are running into.... :(

Well Mark (hope you don't ban me for me calling you that :p );

Part of the problem is this is my first real time using Linux as fully as I am now. I hardly know anything in comparison to everyone else in this forum when it comes to Linux and how it works; so that puts me at a huge disadvantage. However, I have worked with it just a tad; so that helps a little.

Well, "Mark" is my name. I have been called worse - usually by my wife. :whistle:

I am thinking - worst case - you can re-install. The better solution would be to remove the packages and re-add them.

I just don't know what to do at this point. I wasn't asked to moderate because of my Linux skills. There are MANY more people on here who know TONS more than I do. I think I was picked becuase I like to help, and I am on Neowin waaaay too often. :unsure:

For me, Linux has Just worked. That makes it good for me in that it does what I need to, but I haven't learned as much about Linux this way, so it is a trade-off.

If you live near an area with a LUG (Linux Users Group), I am sure that someone there will be willing to help you set up and teach you some initial basics. Google may show you something in your area, and the LUG website will give you email contacts and any scheduled meetings.

Other than that, try removing and reinstalling, and hopefully someone with more knowledge will be able to give you the help you need.

HBGuy,

first of all, regarding your NTFS question: perfect read-write support for NTFS is possible, using either Captive (free, uses Windows driver) or Paragon NTFS (commercial):

http://www.jankratochvil.net/project/captive/

http://www.ntfs-linux.com/

Then, about that YUM/ PHP thing: I don't know nothing about Redhat/FC - but I had some problems with RPM's back when I was using SuSE. It seems that PHP is installed, but the installer (Anaconda?) won't get it. First, make sure that PHP is really installed: open a terminal and enter 'php'. If this works, then it's the Package Manager's fault. IIRC, there's a way to rebuild the RPM database ('rpm --rebuilddb'), maybe that helps.

On the other hand, I _hate_ RPM based distros. It's a nice idea in general, but it's really risky to install packages from external sources and stuff. I would suggest to either use a distro that comes with everything you'll ever need (like SuSE professional) and install no packages from the internet 'till you're used to Linux, or use a distro like Debian or gentoo where everything get's installed from the internet... Those distros are harder to install, but easier to keep up to date!

  calidude said:
If I'm gonna bother to go that far; I might as well just put Windows back. I never imagined having this much trouble and headaches with Linux. :( Heck I can't even access my personal data, but that's a whole other story. :unsure:

I think I have jinxed myself. Seems my computer is just as bad off now; if not even worse. I am really stuck now.

On the subject of Linux, my SuSE Linux 9.1 installation CD won't go through the rest of the installation like it should. It just runs through the first part (where the progress bar and timer thing goes in the upper right corner) and when that goes away my computer reboots and the dam* GNU GRUB prompt comes right back.

  calidude said:
I think I have jinxed myself. Seems my computer is just as bad off now; if not even worse. I am really stuck now.

On the subject of Linux, my SuSE Linux 9.1 installation CD won't go through the rest of the installation like it should. It just runs through the first part (where the progress bar and timer thing goes in the upper right corner) and when that goes away my computer reboots and the dam* GNU GRUB prompt comes right back.

You should try mark's suggesting of removing and then reinstalling. You can also force it as was suggested and it'll be fine.

What it sounds like to me is that you installed them via yum, and now you are trying to update php or install the RPM, while the RPM database was never updated with those php packages that you have installed.

I think the command to rebuild the RPM DB is: rpm --rebuild

That may work without haveing to reinstall anything.

And remember, just because you have to learn a few things doesn't make it bad. Also its important to read through everyone's posts. People have already mention how to read your windows based partition in linux as if it was a linux partition. And I think someone mention how to get windows in your "main menu" to show up. You can even do a search for something like "howto grub windows" or something to that effect in google.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Don’t care about a wrestling union. No normal person should care. 
    • Limassol, Cyprus. Just south of Turkey. NOT Russia.
    • Hello, Given the reports of Chinese Mini PCs shipping with malware, I would recommend wiping the machine and performing a clean install of Windows on it before use.  From what I can infer from the reports, the Mini PCs that shipped with malware were not the result of targeted purposeful action on the part of the device manufacturers (which is something that has happened with low-cost Android smartphones and TV boxes from China) but rather due to lax security in the manufacturing process.   Getting back to the subject at hand, there are a few steps you will want to go through before wiping the Mini PC: You can start preparing even before the Mini PC arrives.  Once you have ordered it and know the brand and model, go to the manufacturer's website and download all of the latest device drivers, BIOS (UEFI) firmware updates, machine-specific software (if any), and manuals.  Many Mini PC manufacturers do not do a lot of customization of their device drivers, just shipping whatever device drivers the the silicon vendors provide.  I still recommend downloading them, though, just in case there are some customizations or for initial install since those are the drivers you know the manufacturer validated for the Mini PC.  Store these in a safe place, so you have them ready when the Mini PC arrives. Use Microsoft's Windows Media Creation Tool to create an installation USB.  You can also create a directory on installation USB--like C:\DRIVERS\ or whatnot--and store the extracted device drivers there in case you need them while or after installing Windows. Once the Mini PC arrives, and you have your Windows installation USB available, you can proceed with wiping the PC and doing the clean install.  Here's how you do that, step-by-step: Check the computer and make sure you know how to boot it from a USB flash drive (may be a specific key you have to press when the computer is powered on, or a change to the BIOS (UEFI) firmware settings.  The PC may tell you what key combination you need to press to boot from another drive, or the manual for the PC may it. Plug the USB flash drive into the computer and power it up using the means to have it boot from the Windows install USB. Once the computer finishes booting, it should be at a Windows installation screen. Do not agree to any prompts, copyright licenses, or click on any buttons. Press the Shift + F10 keys together to open a Command Prompt. Run DISKPART to start the command-line disk partitioning utility. The command line prompt will change to DISKPART>. At the DISKPART> prompt, type LIST DISK to get the numbers of all drives installed in the system. Make a note of what number is assigned to what drive (if the Mini PC has more than one drive).  At the DISKPART> prompt, type SEL DISK n  where n is the number of the drive containing Windows. At the DISKPART> prompt, type CLEAN and this will erase the GPT/MBR code from the beginning of the drive. *WARNING:* After performing the clean operation, the drive now be blank/erased, and everything on it will be gone (all files, etc.).  You can exit DiskPart and just continue with the Windows installation as you normally would.  If needed, you can install the device drivers you put on the Windows install media to get your network connection up and running, and from there run Windows Update to get the operating system and device drivers up to date Regards, Aryeh Goretsky
    • Why? Amazon has some great shows and Fallout was near perfect.
  • Recent Achievements

    • Week One Done
      cac1lll earned a badge
      Week One Done
    • One Month Later
      Falcon.ai earned a badge
      One Month Later
    • Week One Done
      Falcon.ai earned a badge
      Week One Done
    • Dedicated
      EYEREX earned a badge
      Dedicated
    • First Post
      Electronic Person earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      627
    2. 2
      ATLien_0
      238
    3. 3
      Xenon
      166
    4. 4
      neufuse
      142
    5. 5
      +FloatingFatMan
      123
  • Tell a friend

    Love Neowin? Tell a friend!