where has 'setup' gone?
where has 'setup' gone?
Under Centos 5.2 I used a cmd 'setup' which allowed me to change services and network etc, when I try to run this under 5.4 I get 'not found'
Where has it gone?
Where has it gone?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
where has 'setup' gone?
It is still called 'setup'
You probably have not become root properly.
Use:
su -
NOT
su
You probably have not become root properly.
Use:
su -
NOT
su
Re: where has 'setup' gone?
tried that - still no luck.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: where has 'setup' gone?
Try this - 1st become [url=http://wiki.centos.org/TipsAndTricks/BecomingRoot]root[/url] then [code]rpm -q setup[/code]
If you get[code]package setup is not installed[/code]then[code]yum install setup[/code]and try again.
If it is found and you still can't run it, then show the results of[code]rpm -V setup
uname -rmi
rpm -q centos-release[/code]
If you get[code]package setup is not installed[/code]then[code]yum install setup[/code]and try again.
If it is found and you still can't run it, then show the results of[code]rpm -V setup
uname -rmi
rpm -q centos-release[/code]
Re: where has 'setup' gone?
My [b]rpm -q setup[/b] gives
[code]setup-2.5.58-7.el5[/code]
Try with above first.
If the package is not installed.Then
[code]yum install setup[/code]
Edit: [b]Phill[/b] already answered everything
[code]setup-2.5.58-7.el5[/code]
Try with above first.
If the package is not installed.Then
[code]yum install setup[/code]
Edit: [b]Phill[/b] already answered everything
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: where has 'setup' gone?
[quote]
chuina wrote:
...
Edit: [b]Phill[/b] already answered everything[/quote]
Great minds... Looks like I beat you by <200 seconds. Thanks for all your helpful posts, and better luck next time. ;-)
chuina wrote:
...
Edit: [b]Phill[/b] already answered everything[/quote]
Great minds... Looks like I beat you by <200 seconds. Thanks for all your helpful posts, and better luck next time. ;-)
-
- Posts: 661
- Joined: 2009/01/18 00:39:15
- Location: 44 49′14″N 20 27′44″E
Re: where has 'setup' gone?
I'm sorry guys, but it seems to me pretty impossible for one not to have [b]setup[/b] package installed on his system, 'cause when I query the package, I get:
[code]
# rpm -ql setup
/etc/aliases
/etc/bashrc
/etc/csh.cshrc
/etc/csh.login
/etc/environment
/etc/exports
/etc/filesystems
/etc/fstab
/etc/group
/etc/gshadow
/etc/host.conf
/etc/hosts.allow
/etc/hosts.deny
/etc/inputrc
/etc/motd
/etc/mtab
/etc/passwd
/etc/printcap
/etc/profile
/etc/profile.d
/etc/protocols
/etc/securetty
/etc/services
/etc/shadow
/etc/shells
/usr/share/doc/setup-2.5.58
/usr/share/doc/setup-2.5.58/uidgid
/var/log/lastlog
[/code]
[b]RobK[/b], what you're looking for is more likely the package [b]setuptool[/b].
[code]
# rpm -ql setup
/etc/aliases
/etc/bashrc
/etc/csh.cshrc
/etc/csh.login
/etc/environment
/etc/exports
/etc/filesystems
/etc/fstab
/etc/group
/etc/gshadow
/etc/host.conf
/etc/hosts.allow
/etc/hosts.deny
/etc/inputrc
/etc/motd
/etc/mtab
/etc/passwd
/etc/printcap
/etc/profile
/etc/profile.d
/etc/protocols
/etc/securetty
/etc/services
/etc/shadow
/etc/shells
/usr/share/doc/setup-2.5.58
/usr/share/doc/setup-2.5.58/uidgid
/var/log/lastlog
[/code]
[b]RobK[/b], what you're looking for is more likely the package [b]setuptool[/b].
Re: where has 'setup' gone?
[b]milosb[/b] is correct.
cause
[code]$ rpm -ql setuptool
-----------------------------
/etc/setuptool.d/99system-config-network-tui
/etc/setuptool.d/99system-config-printer-tui
/etc/setuptool.d/99timeconfig
[b]/usr/bin/setup
/usr/sbin/setup[/b]
/usr/share/doc/setuptool-1.19.2
/usr/share/doc/setuptool-1.19.2/README
-----------------------------
[/code]
I think [b]setuptool[/b] is in the [b]Base[/b] group.
cause
[code]$ rpm -ql setuptool
-----------------------------
/etc/setuptool.d/99system-config-network-tui
/etc/setuptool.d/99system-config-printer-tui
/etc/setuptool.d/99timeconfig
[b]/usr/bin/setup
/usr/sbin/setup[/b]
/usr/share/doc/setuptool-1.19.2
/usr/share/doc/setuptool-1.19.2/README
-----------------------------
[/code]
I think [b]setuptool[/b] is in the [b]Base[/b] group.
-
- Posts: 400
- Joined: 2007/02/20 04:27:08
- Location: Milky Way/Sol/Earth/USA/Nevada GMT-8
Re: where has 'setup' gone?
If all the above stuff does not work and it looks like you really do have setup installed, it could be that you have several programs called setup and you are getting the wrong one. Happens to me sometimes. Both ways too.
In which case try using the exact path "/usr/bin/setup" and see it that works.
HTH,
-T
In which case try using the exact path "/usr/bin/setup" and see it that works.
HTH,
-T
Re: where has 'setup' gone?
thanks for all your help.
I ran 'yum install setuptool' and now it works. :-D
I ran 'yum install setuptool' and now it works. :-D