# locally compact spaces

let $X$ be a Hausdorff topological space.
show that $X$ is homeomorphic to an open sub-space a compact Hausdorff space if and only if $X$ is locally compact