Views: 
              2,475β
          
          
                Votes:  3β
          
          
          
            
            Tags: 
              
                apt  
              
                gui  
              
          
          
            
              
                
                Link: 
                  π See Original Answer on Ask Ubuntu β§ π
              
            
          
        
        
          
            URL: 
              https://askubuntu.com/q/1068333
          
          
            
            Title: 
              What will happen if I install the same package twice, for example the ubuntu-desktop?
            
          
          
            ID: 
              /2018/08/23/What-will-happen-if-I-install-the-same-package-twice_-for-example-the-ubuntu-desktop_
            
          
          
            Created: 
               August 23, 2018
          
          
               Edited:  August 23, 2018
          
          
          
            
            Upload: 
              October 19, 2025
          
          
               Layout:  post
          
          
            
            TOC: 
              false
          
          
               Navigation:  false
          
          
               Copy to clipboard:  false
          
          
        
       
No harm will come.
The second time you try to install a package it will simply tell you itβs already installed.
If the package was just installed it will say:
<Package> is already the newest version (<version number>)
If the package was upgraded since it was last installed/upgraded then it will be upgraded:
The following packages will be upgraded:
  <Package>
1 upgraded, 0 newly installed, ___ to remove and ___ not upgraded