What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

/usr/share stores system-installed, generally read-only data that is not specific to a processor architecture. It commonly contains man pages, documentation, locale and timezone data, fonts, icons, desktop metadata, schemas, and application resources—not user files, host configuration, compiled libraries, or runtime state.

What “architecture-independent” means

Architecture-independent data is content that does not inherently depend on the CPU architecture or binary ABI. The same man page, icon, font, template, or text database can often be used on compatible x86-64 and ARM installations of the same operating system and software release.

That does not mean every file in /usr/share is portable everywhere. Data can still depend on a particular Linux distribution, operating-system release, package version, interpreter, application, schema format, or desktop environment. The Filesystem Hierarchy Standard (FHS) describes the sharing model, but it is a convention and compatibility target—not a kernel-enforced rule.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why it is separate from /usr/bin and /usr/lib

The /usr hierarchy separates installed system software according to how its files are used:

#1 Best Overall
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.
/usr/bin/program             compiled executable
/usr/lib/.../library.so      architecture-dependent library
/usr/share/program/template  static application data
  • /usr/bin and /usr/sbin normally contain executable programs.
  • /usr/lib contains libraries, plugins, and package data that may be architecture-dependent or mixed with architecture-dependent files.
  • /usr/share contains static data that is generally independent of CPU architecture.

This separation historically allowed a read-only /usr tree to be shared by compatible machines, including machines with different processor architectures. Modern systems more often use local filesystems, containers, immutable images, or merged-/usr layouts, but the conceptual distinction remains useful. See the FHS descriptions of the /usr hierarchy and /usr/share.

What commonly lives in /usr/share?

Path Typical contents Status
/usr/share/man Manual pages read by man FHS-defined or permitted as a symbolic link
/usr/share/doc README files, changelogs, licenses, examples, and package documentation Common distribution convention
/usr/share/info GNU Info documentation Common convention
/usr/share/locale Locale definitions and translated message catalogs Common convention
/usr/share/zoneinfo Timezone database files FHS-recognized location
/usr/share/terminfo Terminal capability descriptions Common convention
/usr/share/fonts System-wide font files Distribution and desktop convention
/usr/share/icons Icon themes and image resources Desktop-environment convention
/usr/share/applications Desktop-entry files describing installed applications Desktop-environment convention
/usr/share/mime MIME type databases and associations Desktop/system convention
/usr/share/metainfo Application metadata used by software centers Common modern convention
/usr/share/<application> Templates, schemas, dictionaries, themes, grammar files, game assets, and other private resources Application-specific

The FHS requires or permits basic locations such as /usr/share/man and /usr/share/misc, while many other directories are created by distributions, desktop environments, language runtimes, and individual applications. A directory’s presence does not prove that it is mandated by the FHS.

What does not belong in /usr/share?

Compiled programs and native libraries

Compiled executables and native shared libraries are normally placed in architecture-appropriate locations such as /usr/bin, /usr/sbin, /usr/lib, /usr/lib64, or a multiarch directory such as /usr/lib/x86_64-linux-gnu. A file that happens to be text or executable on multiple CPUs is not automatically appropriate for /usr/share; its role in the application and the distribution’s packaging policy also matter.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configuration

Host-specific system configuration belongs under /etc. A package may install example configuration or static defaults under /usr/share, but active configuration that administrators edit should use the application’s documented configuration path.

Persistent state, logs, caches, and runtime files

Changing application data belongs elsewhere:

  • /var/lib/<application> — persistent databases and service state
  • /var/log/<application> — logs
  • /var/cache/<application> — reconstructible caches
  • /run — volatile runtime state such as sockets and PID files

Even game data illustrates the distinction: static game assets may use /usr/share/games, while scores and gameplay logs belong under /var/games, as described by the FHS.

/usr/share versus similar directories

Location Purpose
/usr/share Distribution- or system-managed static, architecture-independent data
/usr/lib Libraries and package data, including architecture-dependent or mixed-content material
/usr/local/share Static data for software installed locally by an administrator, outside the distribution-managed /usr tree
/etc Host-specific system configuration
/var/lib Persistent, changing application and service state
/var/cache Reconstructible cached data
/run Volatile state created during system operation
$HOME/.local/share Per-user application data; this is the default when $XDG_DATA_HOME is unset

/usr/share and /usr/local/share contain similar types of static data, but their ownership and lifecycle differ. The former is normally managed by the operating system’s package system; the latter is the administrator’s area for manually installed software. The Debian Handbook explains this distinction in practical terms.

Rank #2
Sale
Aiolo Innovation 500GB External Hard Drive Ultra Slim Portable HDD-USB 3.0 for PC, Mac, Laptop, PS4, Xbox one,Xbox 360 HD-A4
  • Ultra fast data transfers: the external hard drive works with USB 3.0 thickened copper cable to provide super fast transfer speeds. Theoretical read speed is as high as 110MB/s-133MB/s and write speed is as high as 103MB/s.
  • Ultra-thin and quiet: the motherboard adopts a noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • Compatibility: compatible with PS4/xbox one/Windows/Linux/Mac/Android,Stable and fast downloading on game console no difference from fast transmission when using on PC.
  • Plug and Play: no software to install, just plug it in and the drive is ready to use. The hard drive chip is wrapped with aluminum anti-interference layer to increase heat dissipation and protect data
  • Package Contents: 1* portable hard drive, 1 *USB 3.0 cable, 1*USB to type C adapter,1 *user manual, shell packaging, three-year manufacturer's warranty and free technical support services

Despite its name, /usr/share is not a general-purpose folder for users to exchange personal files. Per-user data belongs in the home directory, commonly below $XDG_DATA_HOME or $HOME/.local/share.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Is it safe to edit or delete files?

Generally, no. Treat /usr/share as installed system data that is usually package-managed. Manual changes can break an application, remove documentation, invalidate desktop or MIME databases, cause package-integrity warnings, or be overwritten by a later update.

Do not delete a directory merely because its name looks unnecessary. Documentation, language packs, fonts, dictionaries, icon themes, and development resources may be removable, but other installed packages can depend on them. Remove unwanted content through the package manager or the software’s supported uninstall process. For customization, prefer /etc, /usr/local/share, or $HOME/.local/share, depending on whether the change is system-wide, administrator-installed, or per-user.

Inspecting /usr/share safely

List contents and measure space

ls -la /usr/share
du -sh /usr/share
du -xhd1 /usr/share | sort -h

The -x option keeps the disk-usage scan on the same filesystem, avoiding an accidental traversal into another mounted filesystem.

Examine an unfamiliar file

file /usr/share/path/to/file
ls -l /usr/share/path/to/file
stat /usr/share/path/to/file

Search by name with:

find /usr/share -type f -name 'filename'
find /usr/share -type f -iname '*keyword*'

Find package ownership

On Debian and Ubuntu:

dpkg -S /usr/share/path/to/file
dpkg -L package-name

On RPM-based distributions:

rpm -qf /usr/share/path/to/file
rpm -ql package-name

If no package owns a file, it may have been created by a local administrator, a third-party installer, or a package that uses a different ownership database. Check the software’s installation method before removing it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a distribution-specific hierarchy overview, read hier(7) with:

Rank #3
Sale
WD 2TB Elements Portable External Hard Drive for Windows, USB 3.2 Gen 1/USB 3.0 for PC & Mac, Plug and Play Ready - WDBU6Y0020BBK-WESN
  • High capacity in a small enclosure – The small, lightweight design offers up to 6TB* capacity, making WD Elements portable hard drives the ideal companion for consumers on the go.
  • Plug-and-play expandability
  • Vast capacities up to 6TB[1] to store your photos, videos, music, important documents and more
  • SuperSpeed USB 3.2 Gen 1 (5Gbps)
man hier

Linux distributions can document different details, so consult the target system’s hier(7) reference alongside the FHS.

Recovery after accidental deletion

  1. Stop changing files in the affected directory.
  2. Identify the missing path’s owning package with dpkg -S or rpm -qf, if possible.
  3. Reinstall that package using the distribution’s package manager rather than copying a file from another machine.
  4. Use the distribution’s package-integrity or verification facility if other files may have been altered.
  5. Review the application’s logs and package-manager history if the problem continues.

Reinstalling the owning package restores package-provided files, but it may not restore data created by a separate installer or repair configuration that was intentionally stored elsewhere.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Exceptions and modern layouts

Mixed package contents

Real packages are not always divided into perfectly pure categories. An application may include architecture-dependent libraries alongside templates, schemas, or other common data. Some packaging policies place the mixed package directory below /usr/lib/<package> rather than splitting every file into /usr/share. Debian Policy explicitly allows relevant exceptions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Interpreted-language resources

Python, JavaScript, Lua, and other interpreted-language files may work on several CPU architectures, but that alone does not determine their location. They can depend on a specific interpreter, application release, native module, or resource format. User-facing commands normally belong in /usr/bin; private helpers and package-specific resources follow the distribution’s packaging rules.

Different distributions and releases

Two systems can legitimately have different /usr/share contents because they use different distributions, releases, installed packages, desktop environments, language packs, or application versions. A shared directory is not automatically interchangeable between arbitrary Linux systems. The FHS cautions that sharing is generally considered within compatible installations of a given operating system and release, not indiscriminately across operating systems.

Merged /usr

On many current Linux systems, paths such as /bin, /sbin, and /lib are symbolic links into corresponding directories under /usr. This changes the physical layout, not the conceptual role of /usr/share. The exact implementation varies by distribution; the Debian Handbook provides examples.

Rank #4
Sale
YOTUO 500GB External Hard Drive, Portable Storage Expansion HDD, USB 3.0 & USB-C for PC, Mac, Desktop, Laptop, Smartphone, PS4, Xbox One, Xbox 360, Office & Game Black
  • 【Versatile Storage Expansion – For Gaming, Work & Everyday Use】 Running out of space on your PS5 or Xbox Series X/S? This external hard drive lets you store and play PS4 / Xbox One games directly, instantly freeing up your console’s internal storage for next‑gen titles. At the same time, it handles work file backups, media libraries, and cross‑device data transfers with ease. One drive, all your needs. *(Note: PS5 / Xbox Series X|S games cannot be run or stored directly from the external hard drive. However, by offloading your PS4 / Xbox One games, you can free up valuable space for newer titles.)*
  • 【Patented Silicone Sleeve – Data Protection You Can Count On】 Worried about drops? We’ve got you covered. The patented built‑in silicone sleeve acts like a shock‑absorbing armor, cushioning your drive against bumps and falls. Whether it’s important work documents, precious family photos, or hard‑earned game saves, your data deserves this level of protection.
  • 【Plug & Play, Compatible with Computers & Consoles】 No complicated setup—just plug in and go. Works seamlessly with Windows, Mac, and Linux computers, as well as PS4, PS5, Xbox One, and Xbox Series X/S. Process files at the office, back up data at home, or enjoy gaming in your downtime—one drive handles all your devices, simply and hassle‑free.
  • 【USB 3.0 Ultra‑Fast Transfer – No More Waiting】 Tired of watching progress bars crawl? With USB 3.0 speeds up to 5Gbps, large files transfer in seconds. Whether you’re moving work documents, transferring hundreds of gigs of games, or backing up a year’s worth of photos, you get more done in less time.
  • 【Sleek, Lightweight, and Ready to Go】 Weighing just 0.16 kg—lighter than a can of soda—this compact drive features a stylish mirror‑and‑frosted finish. Toss it in your bag and go, whether you’re heading to the office, visiting a friend for a gaming session, or giving a presentation on the road.

Containers and immutable systems

Container images and read-only or atomic operating-system images may mount, compose, or update /usr differently from a traditional mutable installation. In practice, this makes direct edits even less appropriate: installed data is commonly part of an image or deployment unit, while mutable state is kept in separate writable layers, volumes, home directories, or /var locations.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Guidance for developers and package maintainers

Install static, system-wide, architecture-independent resources in an application-specific directory such as /usr/share/<application>, following the target distribution’s packaging policy. Avoid scattering unrelated files directly in /usr/share.

As a general classification:

  • Compiled commands: /usr/bin or another approved executable directory
  • Native libraries and architecture-specific plugins: /usr/lib or the distribution’s multiarch path
  • Static common resources: /usr/share/<application>
  • Host-specific configuration: /etc
  • Persistent or generated state: /var/lib
  • Per-user writable resources: $XDG_DATA_HOME, normally $HOME/.local/share

Do not assume that “architecture-independent” means “unconditionally shareable.” Confirm that the data is compatible with the application version, operating-system release, and packaging policy.

Quick decision checklist

A file is a good candidate for /usr/share when it is:

  • Installed for system-wide use
  • Static or generally read-only
  • Not inherently tied to a CPU architecture or native ABI
  • Not host-specific configuration
  • Not user-specific data
  • Not runtime state, a log, a database, or a cache
  • Placed there in accordance with the distribution’s packaging policy

If you are unsure, identify the package owner and consult the application and distribution documentation before editing or deleting anything.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.