Installing multiple packages with DNF command
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 15 of 26

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Posts
    1,666
    Linux (Fedora) Firefox 64.0

    Installing multiple packages with DNF command

    Hi Friends,

    I have just installed Fedora 29 Workstation 64 bit to a brand new 500 GB HDD as the only OS. Now, I have got 4 questions.

    Question 1:

    I often install a certain bunch of packages (100+) whenever I install a new release of Fedora. I am thinking of installing all these packages with the dnf command as below. Is this possible?

    Code:
    dnf install package1 package2 package3......packagelast
    If the above command does not work, then I will try the following command.

    Code:
    dnf --allowerasing install package1 package2 package3......packagelast
    And if the above 2 commands do not work, then I will try the following command.

    Code:
    dnf --skip-broken install package1 package2 package3......packagelast
    Or is there any better way of installing multiple packages using dnf command?

    Question 2:

    I have tried to change the boot menu display time (GRUB_TIMEOUT=60) from the default 5 seconds to 60 seconds by running the following commands, but I have not been able to achieve that.

    Code:
    [root@localhost john]# nano /etc/default/grub
    Code:
    [root@localhost john]# grub2-mkconfig -o /boot/grub2/grub.cfg
    Generating grub configuration file ...
    Found linux image: /boot/vmlinuz-4.19.13-300.fc29.x86_64
    Found initrd image: /boot/initramfs-4.19.13-300.fc29.x86_64.img
    Found linux image: /boot/vmlinuz-4.18.16-300.fc29.x86_64
    Found initrd image: /boot/initramfs-4.18.16-300.fc29.x86_64.img
    Found linux image: /boot/vmlinuz-0-rescue-19d06d6946ee44c7a4eb1677916fdfa3
    Found initrd image: /boot/initramfs-0-rescue-19d06d6946ee44c7a4eb1677916fdfa3.img
    done
    [root@localhost john]#
    Code:
    [root@localhost john]# cat /etc/default/grub 
    GRUB_TIMEOUT=60
    GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
    GRUB_DEFAULT=saved
    GRUB_DISABLE_SUBMENU=true
    GRUB_TERMINAL_OUTPUT="console"
    GRUB_CMDLINE_LINUX="resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet"
    GRUB_DISABLE_RECOVERY="true"
    [root@localhost john]#
    What do I need to do now?

    Question 3:

    I installed Fedora 29 Workstation 64 bit using the automatic install option and as far as I understand all the packages that I install are going to be saved on the /root partition. Right? If yes, then it is already 45.9% full. So if I need to install more packages in future, I will have to expand the /root partition without losing data/other partitions etc, is it possible to do so? Can any particular partition be expanded or shrunk? If yes, then how?

    Question 4:

    Can Fedora 29 be installed using any other partition style other than LVM2?

    Thanks.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot from 2019-01-10 13-33-24.png 
Views:	11 
Size:	77.3 KB 
ID:	29975  
    Last edited by tech291083; 10th January 2019 at 09:25 AM.
    fedoralinuxcommands.blogspot.com


    All the forces in the world are not so powerful as an idea whose time has come - Victor Hugo

Similar Threads

  1. DNF command re-installing same packages
    By tech291083 in forum Using Fedora
    Replies: 7
    Last Post: 18th July 2015, 05:20 AM
  2. Replies: 0
    Last Post: 27th June 2010, 03:49 AM
  3. Replies: 4
    Last Post: 12th December 2009, 05:21 AM
  4. multiple version of packages installed
    By bakwas_internet in forum Using Fedora
    Replies: 1
    Last Post: 21st March 2004, 07:53 AM
  5. Multiple Packages installed - Help
    By jvslice in forum Using Fedora
    Replies: 4
    Last Post: 29th February 2004, 03:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •