Announcement

Collapse
No announcement yet.

Newbie -looking for equivalent commands + misc questions

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Newbie -looking for equivalent commands + misc questions

    hi members,

    A. in a rpm based distro, in a terminal, i can type 'rpm -qa|grep packagename' to see if i have a particluar rpm or a group of rpms installed.

    is there an equivalent in kubuntu?

    B. i installed Kubuntu JJ from a CD. What command do i use in a terminal to see if i have a 32bit or a 64bit system?

    uname -a shows;

    Linux compaq-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

    C. Again in a rpm environment, u can use the command 'chkconfig --list' to see what daemons u have, run on boot, runlevels, etc. What is the equivalent in kubuntu?

    C1. You can restart all services with 'service -R'? anything similar in kubuntu?

    D. is there a kubuntu jj admin guide ?



    #2
    Re: Newbie -looking for equivalent commands + misc questions

    Welcome to the party

    Coming from rpm you may fins apt-get a bit weird at first but much more fun later

    For:
    A. in a rpm based distro, in a terminal, i can type 'rpm -qa|grep packagename' to see if i have a particluar rpm or a group of rpms installed.

    is there an equivalent in kubuntu?
    have alook here:
    http://www.howtogeek.com/howto/linux...ntu-or-debian/

    as always google is a friend

    For:
    B. i installed Kubuntu JJ from a CD. What command do i use in a terminal to see if i have a 32bit or a 64bit system?
    I don't have a 64bit system (yet) but I use this:
    Code:
    lsb_release -a
    I don't know if that will help

    For:
    C. Again in a rpm environment, u can use the command 'chkconfig --list' to see what daemons u have, run on boot, runlevels, etc. What is the equivalent in kubuntu?
    Maybe this?

    http://stackoverflow.com/questions/6...mons-in-ubuntu

    For:
    C1. You can restart all services with 'service -R'? anything similar in kubuntu?
    This?
    http://ubuntu-tutorials.com/2007/11/...on-ubuntu-710/
    or this?
    http://ubuntuforums.org/archive/index.php/t-26882.html
    For:
    D. is there a kubuntu jj admin guide ?
    There is this:
    http://kubuntuguide.org/Jaunty

    I hope some of the above helps

    HP Pavilion dv6 core i7 (Main)
    4 GB Ram
    Kubuntu 18.10

    Comment


      #3
      Re: Newbie -looking for equivalent commands + misc questions

      thanx fintan. will check out those links...

      Comment


        #4
        Re: Newbie -looking for equivalent commands + misc questions

        Originally posted by marcopl
        hi members,

        A. in a rpm based distro, in a terminal, i can type 'rpm -qa|grep packagename' to see if i have a particluar rpm or a group of rpms installed.

        is there an equivalent in kubuntu?
        its dpkg --get-selections|grep -i packagename


        B. i installed Kubuntu JJ from a CD. What command do i use in a terminal to see if i have a 32bit or a 64bit system?

        uname -a shows;

        Linux compaq-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

        lsb_release -a doesnt give the necessary info , though it does on a mandriva box. In JJ i got;

        ~$ lsb_release -a
        No LSB modules are available.
        Distributor ID: Ubuntu
        Description: Ubuntu 9.04
        Release: 9.04
        Codename: jaunty

        Any ideas anybody? how to verify if the OS is 32bit or 64bit?


        C. Again in a rpm environment, u can use the command 'chkconfig --list' to see what daemons u have, run on boot, runlevels, etc. What is the equivalent in kubuntu?
        u need to install additional software , such as;

        - bum ( best choice ?)
        - sysv-rc-conf
        - rcconf

        these allow u to see/edit what daemons are configured to run at bootup and at what runlevels.



        C1. You can restart all services with 'service -R'? anything similar in kubuntu?
        BUT NO COMMAND LIKE 'service -R' that will allow u to restart all services at one go.

        Am i wrong? is there one?

        D. is there a kubuntu jj admin guide ?
        http://kubuntuguide.org/Jaunty is great.

        Comment


          #5
          Re: Newbie -looking for equivalent commands + misc questions

          For the OS version, you could try:
          Code:
          uname -a
          It will give lots of info about your kernel.
          Or just use:
          Code:
          uname -m
          for just the "machine hardware name". For me, that outputs "x86_64".

          Comment


            #6
            Re: Newbie -looking for equivalent commands + misc questions

            uname -a covered in earlier post. uname -m gives me i686;

            sudo uname -m

            i686

            Comment


              #7
              Re: Newbie -looking for equivalent commands + misc questions

              chkconfig is in the repository. In a konsole enter

              sudo apt-get install chkconfig


              Or, you can try runit

              Or, you can try sysvconfig



              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
              – John F. Kennedy, February 26, 1962.

              Comment


                #8
                Re: Newbie -looking for equivalent commands + misc questions

                For kde version:
                Code:
                $ kde4-config --version
                For kubuntu version:
                Code:
                lsb_release -a
                HP Pavilion dv6 core i7 (Main)
                4 GB Ram
                Kubuntu 18.10

                Comment


                  #9
                  Re: Newbie -looking for equivalent commands + misc questions

                  Originally posted by GreyGeek
                  chkconfig is in the repository. In a konsole enter

                  sudo apt-get install chkconfig
                  I installed chkconfig and when i tried running a command, it gave me errors, as shown below;

                  ~$ sudo chkconfig mysql off
                  insserv: warning: script 'S01linux-restricted-modules-common' missing LSB tags and overrides
                  insserv: warning: script 'K01acpi-support' missing LSB tags and overrides
                  insserv: warning: script 'linux-restricted-modules-common' missing LSB tags and overrides
                  insserv: warning: script 'acpi-support' missing LSB tags and overrides

                  Comment


                    #10
                    Re: Newbie -looking for equivalent commands + misc questions

                    Originally posted by Fintan

                    For kubuntu version:
                    Code:
                    lsb_release -a
                    my machine gives;

                    sudo lsb_release -a
                    No LSB modules are available.
                    Distributor ID: Ubuntu
                    Description: Ubuntu 9.04
                    Release: 9.04
                    Codename: jaunty

                    No info on whether its a 32bit or 64 bit system?

                    Comment


                      #11
                      Re: Newbie -looking for equivalent commands + misc questions

                      Originally posted by marcopl
                      Originally posted by GreyGeek
                      chkconfig is in the repository. In a konsole enter

                      sudo apt-get install chkconfig
                      I installed chkconfig and when i tried running a command, it gave me errors, as shown below;

                      ~$ sudo chkconfig mysql off
                      insserv: warning: script 'S01linux-restricted-modules-common' missing LSB tags and overrides
                      insserv: warning: script 'K01acpi-support' missing LSB tags and overrides
                      insserv: warning: script 'linux-restricted-modules-common' missing LSB tags and overrides
                      insserv: warning: script 'acpi-support' missing LSB tags and overrides
                      http://articles.techrepublic.com.com...1-5033660.html

                      I've never used chkconfig but shouldn't the command be:

                      sudo chkconfig mysqld off

                      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                      – John F. Kennedy, February 26, 1962.

                      Comment


                        #12
                        Re: Newbie -looking for equivalent commands + misc questions

                        I've never used chkconfig but shouldn't the command be:

                        sudo chkconfig mysqld off

                        NO

                        ~$ sudo chkconfig mysqld --list
                        mysqld: unknown service

                        BUT

                        ~$ sudo chkconfig mysql --list
                        mysql 0ff 1ff 2n 3n 4n 5n 6ff


                        i just wanted to know what the warnings( shown in the earlier post) were about.

                        Comment


                          #13
                          Re: Newbie -looking for equivalent commands + misc questions

                          looking for 'ubuntu insserv: warning: script missing LSB tags and overrides' in google gives a lot of hits with similar warning messages.

                          ### BEGIN INIT INFO
                          # Provides: mountdevsubfs
                          # Required-Start: mountkernfs
                          # Required-Stop:
                          # Should-Start: udev
                          # Default-Start: S
                          # Default-Stop:
                          # Short-Description: Mount special file systems under /dev.
                          # Description: Mount the virtual filesystems the kernel provides
                          # that ordinarily live under the /dev filesystem.
                          ### END INIT INFO

                          apparently adding lines as shown above , with appropriate modifications for the necessary packages is supposed to solve this issue.

                          Anyway i m removing chkconfig package... what a shame.

                          Comment


                            #14
                            Re: Newbie -looking for equivalent commands + misc questions

                            http://groups.google.com/group/linux...7c8d9eb7cb1efc

                            http://www.mail-archive.com/debian-l.../msg11281.html

                            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                            – John F. Kennedy, February 26, 1962.

                            Comment

                            Working...
                            X