LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to be an Administrator of linust through terminal (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-be-an-administrator-of-linust-through-terminal-907749/)

ericus 10-12-2011 06:37 AM

How to be an Administrator of linust through terminal
 
Please who can send me the details or complete terminal commands of fedora 15. I want to learn more about it but i'm new to fedora 15 thank you.

foodown 10-12-2011 06:40 AM

http://www.google.com/url?sa=t&sourc...Vi1Hw7N2QLzMDw

The UNIX command line is incredibly versatile and powerful, and nobody could possibly provide you with "complete terminal commands."

The above document will get you started.

Welcome to LQ!

fukawi1 10-12-2011 06:45 AM

Code:

$ man man
the most important command...

ericus 10-12-2011 07:12 AM

I get a problem when updating using yum update please can you help me?
 
[opoku@Opoku ~]$ sudo yum update
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: fedora.uni-oldenburg.de
* rpmfusion-free: download1.rpmfusion.org
* rpmfusion-free-rawhide: download1.rpmfusion.org
* rpmfusion-free-updates: download1.rpmfusion.org
* rpmfusion-nonfree: download1.rpmfusion.org
* rpmfusion-nonfree-updates: download1.rpmfusion.org
* updates: fedora.uni-oldenburg.de
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package ffmpeg-libs.i686 0:0.7-0.3.20110612git.fc15 will be updated
---> Package ffmpeg-libs.i686 0:0.8.4-1.fc16 will be an update
--> Processing Dependency: libcelt0.so.2 for package: ffmpeg-libs-0.8.4-1.fc16.i686
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-1.fc15 will be updated
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-3.fc16 will be an update
---> Package libquicktime.i686 0:1.2.2-2.fc15 will be updated
---> Package libquicktime.i686 0:1.2.3-3.fc16 will be an update
---> Package live555.i686 0:0-0.30.2011.01.24.fc15 will be updated
---> Package live555.i686 0:0-0.32.2011.09.02.fc16 will be an update
---> Package rpmfusion-free-release.noarch 0:15-1 will be updated
---> Package rpmfusion-free-release.noarch 0:16-0.1 will be an update
--> Processing Dependency: system-release >= 16 for package: rpmfusion-free-release-16-0.1.noarch
---> Package vlc.i686 0:1.1.11-1.fc15 will be updated
---> Package vlc.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: qt4(x86-32) >= 4.8.0 for package: vlc-1.1.12-1.fc16.i686
---> Package vlc-core.i686 0:1.1.11-1.fc15 will be updated
---> Package vlc-core.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: libc.so.6(GLIBC_2.15) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libthreadutil.so.6 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmatroska.so.4 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmtp.so.9 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libupnp.so.6 for package: vlc-core-1.1.12-1.fc16.i686
---> Package x264-libs.i686 0:0.0.0-0.29.20110227.fc15 will be updated
---> Package x264-libs.i686 0:0.0.0-0.31.20110811.fc16 will be an update
--> Finished Dependency Resolution
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libupnp.so.6
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libmtp.so.9
Error: Package: vlc-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: qt4(x86-32) >= 4.8.0
Installed: 1:qt-4.7.4-2.fc15.i686 (@updates)
qt4(x86-32) = 4.7.4-2.fc15
Available: 1:qt-4.7.2-8.fc15.i686 (fedora)
qt4(x86-32) = 4.7.2-8.fc15
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libc.so.6(GLIBC_2.15)
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libthreadutil.so.6
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libmatroska.so.4
Error: Package: ffmpeg-libs-0.8.4-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libcelt0.so.2
Error: Package: rpmfusion-free-release-16-0.1.noarch (rpmfusion-free-rawhide)
Requires: system-release >= 16
Installed: fedora-release-15-3.noarch (@updates)
system-release = 15-3
Available: fedora-release-15-1.noarch (fedora)
system-release = 15-1
Available: generic-release-15-0.4.noarch (fedora)
system-release = 15-0.4
Available: generic-release-15-1.noarch (updates)
system-release = 15-1
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[opoku@Opoku ~]$

foodown 10-12-2011 07:26 AM

I know nothing about yum ...

You would be better off starting a new thread for the yum question; more people who are knowledgeable about yum will be likely to see it.

fukawi1 10-12-2011 07:29 AM

There's a question in there??

Quote:

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Did you try that?

ericus 10-12-2011 07:35 AM

yes i tried the --skip-broken and it installed some but not all and skipped most of them.
but the rpm -Va --nofiles --nodigest did not work.

ericus 10-12-2011 07:37 AM

This is what came up

[root@Opoku opoku]# yum update --skip-broken
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: fedora.uni-oldenburg.de
* rpmfusion-free: download1.rpmfusion.org
* rpmfusion-free-rawhide: download1.rpmfusion.org
* rpmfusion-free-updates: download1.rpmfusion.org
* rpmfusion-nonfree: download1.rpmfusion.org
* rpmfusion-nonfree-updates: download1.rpmfusion.org
* updates: fedora.uni-oldenburg.de
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package ffmpeg-libs.i686 0:0.7-0.3.20110612git.fc15 will be updated
---> Package ffmpeg-libs.i686 0:0.8.4-1.fc16 will be an update
--> Processing Dependency: libcelt0.so.2 for package: ffmpeg-libs-0.8.4-1.fc16.i686
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-1.fc15 will be updated
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-3.fc16 will be an update
---> Package libquicktime.i686 0:1.2.2-2.fc15 will be updated
---> Package libquicktime.i686 0:1.2.3-3.fc16 will be an update
---> Package live555.i686 0:0-0.30.2011.01.24.fc15 will be updated
---> Package live555.i686 0:0-0.32.2011.09.02.fc16 will be an update
---> Package rpmfusion-free-release.noarch 0:15-1 will be updated
---> Package rpmfusion-free-release.noarch 0:16-0.1 will be an update
--> Processing Dependency: system-release >= 16 for package: rpmfusion-free-release-16-0.1.noarch
---> Package vlc.i686 0:1.1.11-1.fc15 will be updated
---> Package vlc.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: qt4(x86-32) >= 4.8.0 for package: vlc-1.1.12-1.fc16.i686
---> Package vlc-core.i686 0:1.1.11-1.fc15 will be updated
---> Package vlc-core.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: libc.so.6(GLIBC_2.15) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libthreadutil.so.6 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmatroska.so.4 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmtp.so.9 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libupnp.so.6 for package: vlc-core-1.1.12-1.fc16.i686
---> Package x264-libs.i686 0:0.0.0-0.29.20110227.fc15 will be updated
---> Package x264-libs.i686 0:0.0.0-0.31.20110811.fc16 will be an update
--> Finished Dependency Resolution
--> Running transaction check
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-1.fc15 will be updated
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-3.fc16 will be an update
---> Package libquicktime.i686 0:1.2.2-2.fc15 will be updated
---> Package live555.i686 0:0-0.30.2011.01.24.fc15 will be updated
--> Processing Dependency: live555date(x86-32) = 2011.01.24 for package: vlc-core-1.1.11-1.fc15.i686
---> Package live555.i686 0:0-0.32.2011.09.02.fc16 will be an update
---> Package x264-libs.i686 0:0.0.0-0.29.20110227.fc15 will be updated
--> Processing Dependency: libx264.so.114 for package: vlc-core-1.1.11-1.fc15.i686
--> Processing Dependency: libx264.so.114 for package: ffmpeg-libs-0.7-0.3.20110612git.fc15.i686
---> Package x264-libs.i686 0:0.0.0-0.31.20110811.fc16 will be an update
--> Finished Dependency Resolution
--> Running transaction check
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-1.fc15 will be updated
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-3.fc16 will be an update
--> Processing Dependency: libx264.so.116 for package: gstreamer-plugins-ugly-0.10.18-3.fc16.i686
---> Package libquicktime.i686 0:1.2.2-2.fc15 will be updated
--> Finished Dependency Resolution
--> Running transaction check
---> Package libquicktime.i686 0:1.2.2-2.fc15 will be updated
--> Finished Dependency Resolution

Packages skipped because of dependency problems:
ffmpeg-libs-0.8.4-1.fc16.i686 from rpmfusion-free-rawhide
gstreamer-plugins-ugly-0.10.18-3.fc16.i686 from rpmfusion-free-rawhide
libquicktime-1.2.3-3.fc16.i686 from rpmfusion-free-rawhide
live555-0-0.32.2011.09.02.fc16.i686 from rpmfusion-free-rawhide
rpmfusion-free-release-16-0.1.noarch from rpmfusion-free-rawhide
vlc-1.1.12-1.fc16.i686 from rpmfusion-free-rawhide
vlc-core-1.1.12-1.fc16.i686 from rpmfusion-free-rawhide
x264-libs-0.0.0-0.31.20110811.fc16.i686 from rpmfusion-free-rawhide
[root@Opoku opoku]#

Passmossis 10-12-2011 07:43 AM

Looks like you are only having an issue with rpmfusion-free-rawhide.

Try looking into the problem by looking at the dependancies it is conflicting with.


Quote:

Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libupnp.so.6
Try looking into one issue to determine what is happening. Gather info on the dependancy, see if it is there.

Quote:

yum search libupnp
yum list libupnp.so.6
Look into the package it is calling out.
Quote:

yum list vlc-core-1.1.12-1.fc16.i686
What do you see?

ericus 10-15-2011 02:21 PM

Please how can i insert a text into a file in fedora using terminal code.
Example. I have an empty file saved on my disk and i want to use the terminal to save an infomation into it.

Passmossis 10-15-2011 02:25 PM

You can do it several ways.

To output the results of a command to a file:

Quote:

command > output.txt
You can create/open a file to write text to it:

Create an empty file:
Quote:

touch filename
Edit an existing file:
Quote:

vi filename
gedit filename
pico filename
gedit and pico are potential applications you have installed. VI is a sure thing to be there, but that will lead to questions as well. I suggest you goggle VI editor commands.

thezerodragon 10-15-2011 11:19 PM

Code:

nano
is another good text editor.

You can also simply cut and paste.

This guide http://www.mjmwired.net/resources/mj...a-f15.html#yum has been useful for me in situations similar to yours with yum. I use it for every new Fedora install.

ericus 10-17-2011 11:44 AM

Please i still get this info when i try to update my system.
yum update

[opoku@Opoku ~]$ su
Password:
[root@Opoku opoku]# yum install update
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
updates/metalink | 37 kB 00:01
* fedora: archive.linux.duke.edu
* rpmfusion-free: download1.rpmfusion.org
* rpmfusion-free-rawhide: download1.rpmfusion.org
* rpmfusion-free-updates: download1.rpmfusion.org
* rpmfusion-nonfree: download1.rpmfusion.org
* rpmfusion-nonfree-rawhide: download1.rpmfusion.org
* rpmfusion-nonfree-updates: download1.rpmfusion.org
* updates: archive.linux.duke.edu
adobe-linux-i386 | 951 B 00:00
rpmfusion-free-rawhide | 3.3 kB 00:00
rpmfusion-free-updates | 2.7 kB 00:00
rpmfusion-nonfree-rawhide | 3.3 kB 00:00
rpmfusion-nonfree-updates | 2.7 kB 00:00
http://archive.linux.duke.edu/pub/fe...ta/repomd.xml: [Errno 12] Timeout on http://archive.linux.duke.edu/pub/fe...ta/repomd.xml: (28, '')
Trying other mirror.
updates | 4.7 kB 00:00
updates/primary_db | 4.1 MB 01:21
updates/group | 1.9 MB 00:40
Setting up Install Process
No package update available.
Error: Nothing to do
[root@Opoku opoku]# yum update vlc
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: archive.linux.duke.edu
* rpmfusion-free: download1.rpmfusion.org
* rpmfusion-free-rawhide: download1.rpmfusion.org
* rpmfusion-free-updates: download1.rpmfusion.org
* rpmfusion-nonfree: download1.rpmfusion.org
* rpmfusion-nonfree-rawhide: download1.rpmfusion.org
* rpmfusion-nonfree-updates: download1.rpmfusion.org
* updates: archive.linux.duke.edu
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package vlc.i686 0:1.1.11-1.fc15 will be updated
---> Package vlc.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: vlc-core(x86-32) = 1.1.12-1.fc16 for package: vlc-1.1.12-1.fc16.i686
--> Processing Dependency: qt4(x86-32) >= 4.8.0 for package: vlc-1.1.12-1.fc16.i686
--> Running transaction check
---> Package vlc.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: qt4(x86-32) >= 4.8.0 for package: vlc-1.1.12-1.fc16.i686
---> Package vlc-core.i686 0:1.1.11-1.fc15 will be updated
---> Package vlc-core.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: live555date(x86-32) = 2011.09.02 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libc.so.6(GLIBC_2.15) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libavformat.so.53(LIBAVFORMAT_53) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libavutil.so.51(LIBAVUTIL_51) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libavcodec.so.53 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libavutil.so.51 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libx264.so.116 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libthreadutil.so.6 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libavformat.so.53 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libswscale.so.2(LIBSWSCALE_2) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmatroska.so.4 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libavcodec.so.53(LIBAVCODEC_53) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmtp.so.9 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libswscale.so.2 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libupnp.so.6 for package: vlc-core-1.1.12-1.fc16.i686
--> Running transaction check
---> Package ffmpeg-libs.i686 0:0.7-0.3.20110612git.fc15 will be updated
--> Processing Dependency: libavcodec.so.52 for package: libquicktime-1.2.2-2.fc15.i686
--> Processing Dependency: libavcodec.so.52(LIBAVCODEC_52) for package: libquicktime-1.2.2-2.fc15.i686
--> Processing Dependency: libswscale.so.0 for package: libquicktime-1.2.2-2.fc15.i686
--> Processing Dependency: libswscale.so.0(LIBSWSCALE_0) for package: libquicktime-1.2.2-2.fc15.i686
---> Package ffmpeg-libs.i686 0:0.8.4-1.fc16 will be an update
--> Processing Dependency: libcelt0.so.2 for package: ffmpeg-libs-0.8.4-1.fc16.i686
---> Package live555.i686 0:0-0.30.2011.01.24.fc15 will be updated
---> Package live555.i686 0:0-0.32.2011.09.02.fc16 will be an update
---> Package vlc.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: qt4(x86-32) >= 4.8.0 for package: vlc-1.1.12-1.fc16.i686
---> Package vlc-core.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: libc.so.6(GLIBC_2.15) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libthreadutil.so.6 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmatroska.so.4 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmtp.so.9 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libupnp.so.6 for package: vlc-core-1.1.12-1.fc16.i686
---> Package x264-libs.i686 0:0.0.0-0.29.20110227.fc15 will be updated
--> Processing Dependency: libx264.so.114 for package: gstreamer-plugins-ugly-0.10.18-1.fc15.i686
---> Package x264-libs.i686 0:0.0.0-0.31.20110811.fc16 will be an update
--> Running transaction check
---> Package ffmpeg-libs.i686 0:0.8.4-1.fc16 will be an update
--> Processing Dependency: libcelt0.so.2 for package: ffmpeg-libs-0.8.4-1.fc16.i686
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-1.fc15 will be updated
---> Package gstreamer-plugins-ugly.i686 0:0.10.18-3.fc16 will be an update
---> Package libquicktime.i686 0:1.2.2-2.fc15 will be updated
---> Package libquicktime.i686 0:1.2.3-3.fc16 will be an update
---> Package vlc.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: qt4(x86-32) >= 4.8.0 for package: vlc-1.1.12-1.fc16.i686
---> Package vlc-core.i686 0:1.1.12-1.fc16 will be an update
--> Processing Dependency: libc.so.6(GLIBC_2.15) for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libthreadutil.so.6 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmatroska.so.4 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libmtp.so.9 for package: vlc-core-1.1.12-1.fc16.i686
--> Processing Dependency: libupnp.so.6 for package: vlc-core-1.1.12-1.fc16.i686
--> Finished Dependency Resolution
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libupnp.so.6
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libmtp.so.9
Error: Package: vlc-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: qt4(x86-32) >= 4.8.0
Installed: 1:qt-4.7.4-2.fc15.i686 (@updates)
qt4(x86-32) = 4.7.4-2.fc15
Available: 1:qt-4.7.2-8.fc15.i686 (fedora)
qt4(x86-32) = 4.7.2-8.fc15
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libc.so.6(GLIBC_2.15)
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libthreadutil.so.6
Error: Package: vlc-core-1.1.12-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libmatroska.so.4
Error: Package: ffmpeg-libs-0.8.4-1.fc16.i686 (rpmfusion-free-rawhide)
Requires: libcelt0.so.2
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@Opoku opoku]#



please can you help me because i want to update my softwares and the rest

fukawi1 10-18-2011 01:40 AM

Quote:

Originally Posted by ericus (Post 4500625)
Please i still get this info when i try to update my system.
yum update

[root@Opoku opoku]# yum install update
No package update available.
Error: Nothing to do
[root@Opoku opoku]#

This error is because you told yum to install the package named "update" which doesn't exist.

As for the rest of your problem, can you post the output of
Code:

# uname -r

thezerodragon 10-19-2011 08:22 PM

Quote:

This error is because you told yum to install the package named "update" which doesn't exist.
Yeah, I think what I usually use is
Code:

yum -v upgrade
with the -v "verbose" switch providing a little more detail about what is being done.


All times are GMT -5. The time now is 06:57 AM.